Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 265 Bytes

.verb.md

File metadata and controls

16 lines (14 loc) · 265 Bytes

Usage

const expand = require('expand-hash');
const obj = {
  'foo.bar.bar': 'some value',
  'foo.qux': 'another value',
  fez: true
};

console.log(expand(obj));
// {
//   foo: { bar: { bar: 'some value' }, qux: 'another value' },
//   fez: true
// }