stringify-keys 
Build an array of key paths from an object.
Install
Install with npm
npm i stringify-keys --save
Run tests
npm test
Usage
var stringify = require('stringify-keys');
API
Build an array of key paths from an object.
base {String}: Base to add to the path (used in recursion)
obj {Object}: Object to use
sep {String}: Use a different seperator than '.'
returns {Array}: Array of key paths
var stringify = require('stringify-keys');
var obj = {
a: 'A',
b: {
c: 'C'
}
};
var keys = stringify(obj);
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Brian Woodward
License
Copyright (c) 2014 Brian Woodward
Released under the MIT license
This file was generated by verb on December 22, 2014.