obj-props
v2.0.0
Published
List of properties for JavaScript objects
Downloads
822,772
Maintainers
Readme
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
Install
$ npm install --save obj-props
Usage
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"
],
...
*/
Dev
The JSON file is generated by running:
$ npm run generate
License
MIT © Dustin Specker