yeoman / configstore

Easily load and persist config without having to think about where and how
BSD 2-Clause "Simplified" License
868 stars 56 forks source link

How to handle arrays? #68

Closed bloodchen closed 4 years ago

bloodchen commented 4 years ago

Let's say I have a json file { "items":[ {"name":"abc","size":1}, {"name":"abcd","size":2}, ] } How can I add a new item to the items array?

Thanks Jeff

sindresorhus commented 4 years ago

Closing in favor of https://github.com/sindresorhus/conf/issues/109


Please don't post the same issue in multiple repos.