Delete property of an object.
npm i finicky --save
const finicky = require('finicky');
finicky('hello.world', {
hello: {
world: 'could be used in browser as well',
},
});
// returns
({
hello: {
},
});
finicky('work-with-divider', '-', {
work: {
with: {
divider: 'could use divider as well',
},
},
});
// returns
({
work: {
with: {
},
},
});
- jessy - get value by object property.
- nessy - set value in nested object.
- all-object-keys - get all keys of object.
MIT