$ npm install obj-props
List of properties for JavaScript objects
It's just a JSON file and can be used wherever.
Forked from Sindre Sorhus' proto-props
$ npm install --save obj-props
import objProps from 'obj-props';
console.log(objProps);
/*
{
"Array": [
"arguments",
"caller",
"from",
"isArray",
"length",
"name",
"of",
"prototype"
],
"ArrayBuffer": [
"arguments",
"caller",
"isView",
"length",
"name",
"prototype"
],
"Boolean": [
"arguments",
"caller",
"length",
"name",
"prototype"
],
...
*/
The JSON file is generated by running:
$ npm run generate
MIT © Dustin Specker
© 2010 - cnpmjs.org x YWFE | Home | YWFE