obj-to-dot-notation
v0.0.1
Published
Converts an object to dot-notation
Downloads
3
Maintainers
Readme
obj-to-dot-notation
Converts an object to dot-notation
Install
$ npm install --save obj-to-dot-notation
Usage
var ObjToDotNotation = require('obj-to-dot-notation');
ObjToDotNotation({foo: { bar : [ "baz", "qux" ]})};
//=>
{
"foo.bar.0" : "baz",
"foo.bar.1" : "qux"
}
Related
- plain-obj-to-dot-notation - Converts an object to dot-notation
Dependency
is-obj
License
MIT © Tarran Jones