$ cnpm install all-object-keys
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
Copyright 2013 - present © cnpmjs.org | Home |