objz

1.0.0 • Public • Published

objz

Easily create an object with a variable as a key

Usage

  • npm i -D objz
 
    import o from 'objz';
 
    var key = 'what';
    var value = 'ever';
 
    return o(key, value) // { what: 'ever' }
 
 

Soon

  • Create a chain of objects from an array of key-value pairs.

Package Sidebar

Install

npm i objz

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.07 kB

Total Files

4

Last publish

Collaborators

  • daniloprates