nobject
Nested javascript objects
Install
Install with npm
$ npm i nobject --save
Usage
const Nobject = ; const myNobject = // Set values either by array or just by argumentmyNobjectmyNobject // Get values the same waymyNobject// >> 1myNobject// >> 2myNobject// >> undefined // Crawl a nobject just like an arraymyNobject// >> ['a', 'a', 'a'] 1// >> ['a', 'a', 'b'] 2 // Output JSONmyNobject// >> { "a" : { "a" : { "a" : 1, "b" : 2 } } }
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
License
Copyright © 2016 Licensed under the MIT license.
This file was generated by readme-generator on November 03, 2016.