
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
stringify-keys
Advanced tools
Build an array of key paths from an object.
npm i stringify-keys --save
npm test
var stringify = require('stringify-keys');
Build an array of key paths from an object.
base {String}: Base to add to the path (used in recursion)obj {Object}: Object to usesep {String}: Use a different seperator than '.'returns {Array}: Array of key pathsvar stringify = require('stringify-keys');
var obj = {
a: 'A',
b: {
c: 'C'
}
};
var keys = stringify(obj);
//=> ['a', 'b', 'b.c']
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Brian Woodward
Copyright (c) 2014 Brian Woodward
Released under the MIT license
This file was generated by verb on December 22, 2014.
FAQs
Build an array of key paths from an object.
The npm package stringify-keys receives a total of 719 weekly downloads. As such, stringify-keys popularity was classified as not popular.
We found that stringify-keys demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.