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

Readme

Keywords

Package Sidebar

Install

npm i dotdef

Weekly Downloads

45

Version

0.0.3

License

MIT

Unpacked Size

5.36 kB

Total Files

8

Last publish

Collaborators

  • nescalante