object-normalize
0.0.1 • Public • Published
$ npm install --save object-normalize
var normalize = require('object-normalize');
var obj = {
'name': 'Abelardo',
'address.street': 'Street .',
'address.number': 122
}
normalize(obj);
// => {name: 'Abelardo', {address: {street: 'Street .', number: 122 }}}
MIT
Package Sidebar
Install
Weekly Downloads