1.2.2 • Published 2 years ago

edit-nested-object v1.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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.

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago