obj-props
List of properties for JavaScript objects
Last updated 6 months ago by dustinspecker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install obj-props 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (6 months ago)

6 Versions

  • 2.0.0                                ...           6 months ago
  • 1.4.0                                ...           3 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 5
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE