Get all keys of object. Use jessy to get value. Use nessy to set value.
npm i all-object-keys --save
const keys = require('all-object-keys');
keys({
universal: true,
hello: {
world: 'could be used in browser as well',
},
});
// returns
['universal', 'hello.world'];
MIT