niche

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i niche

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rauljordan