dotdef

0.0.3 • Public • Published

dotdef Build Status Greenkeeper badge

Dot definition for objects

Install

Use it as an npm package:

npm install dotdef

Usage

const dotdef = require('dotdef');

const myObj = dotdef({
  'foo.bar.baz': 123,
  'foo.bar.quux': 456
}); // { foo: { bar: { baz: 123, quux: 456 } } }

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    51
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    51
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i dotdef

Weekly Downloads

53

Version

0.0.3

License

MIT

Unpacked Size

5.36 kB

Total Files

8

Last publish

Collaborators

  • nescalante