1.2.2 • Published 2 years ago
edit-nested-object v1.2.2
Installations
npm i edit-nested-object
What ?
With this module you can edit nested object with keys like "name.first" etc
How ?
const editObject = require('edit-nested-object');
// import editObject from "./" // for typescript
const ob = {
name: {
first: "Shisui",
last: "Uchiha",
}
}
console.log(editObject(ob,"name.first","Itachi")); // output => { name: { first: 'Itachi', last: 'Uchiha' } }
Supports
For support or issues or queries contace me on my discord server, If you find any bug create a issue here.