1.0.0 • Published 9 years ago

niche v1.0.0

Weekly downloads
3
License
MIT
Repository
-
Last release
9 years ago

Niche.js

Never write nested javascript objects ever again with complicated or convoluted code

Build Status

example

> var niche = require('niche');
> var n = niche();
> var myNestedObject = n.make('hello', 'world', 'yes', 'no', 'thisisawesome');
> {
    hello: {
      world: {
        yes: {
          no: {
            thisisawesome: {}
          }
        }
      }
    }
  }

methods

var n = require('niche')

niche(s)

Builts a recursive object by simply passing in function arguments without requiring building a nested literal object.

install

With npm do:

npm install niche

license

MIT