Delete property of an object.
Install
npm i finicky --save
Hot to use?
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: {
},
},
});
Related
- jessy - get value by object property.
- nessy - set value in nested object.
- all-object-keys - get all keys of object.
License
MIT