Flatten nested objects to a single level in dot notation
Use dot notation to flatten nested objects.
var flattenHash = ;var nested = foo: bar: baz: bang: 'fez' a: 'b';console;
'foo.bar.baz.bang' : 'fez' a:'b'
which you can then refer to as
Currently does not work with
RegExp objects; will throw an error.
expand-hash - Expand hash keys into an object with the given values.
npm i flatten-hash --save-dev
All contributions are welcome! Stars and tweets are always a great way to show your support! But we can definitely use some help with:
Please read contributing guide for more info!
Copyright (c) 2014 Andreas Pizsa, contributors.
This file was generated by verb-cli on August 30, 2014.