json-mask
json-mask copied to clipboard
Tiny language and engine for selecting specific parts of a JS object, hiding the rest.
Great stuff, found this by accident, is it possible to support ES Module output for builds?
``` > obj { foo: { bar: { qux: 'asdf' }, baz: null, ping: 'pong' } } > mask(obj,'foo/*/qux') { foo: { bar: { qux: 'asdf' }, baz: null }...
In JSON Path there is a recursive path finder using the `$..`, is there a similar implementation in json-mask?
Let's use https://github.com/prettier/prettier to make the style consistent. - [ ] Use the `--single-quote` option please (either as an option or as a config; depending on how you implement it...