obj-props

1.4.0 • Public • Published

obj-props Build Status

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

var objProps = require('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

Package Sidebar

Install

npm i obj-props

Weekly Downloads

153,979

Version

1.4.0

License

MIT

Unpacked Size

8.05 kB

Total Files

4

Last publish

Collaborators

  • dustinspecker