This package has been deprecated

Author message:

Renamed to prototype-properties

proto-props
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

proto-props Build Status

List of prototype properties for JavaScript types

It's just a JSON file and can be used wherever.

Install

$ npm install proto-props

Usage

const prototypeProperties = require('proto-props');

console.log(prototypeProperties);
/*
{
	Array: [
		'length',
		'constructor',
		'toString',
		'toLocaleString',
		'join',
		'pop',

	],
	ArrayBuffer: [
		'constructor',
		'byteLength',
		'slice'
	],

}
*/

Dev

The JSON file is generated by running:

$ npm run make

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i proto-props

Weekly Downloads

187,602

Version

4.0.0

License

MIT

Unpacked Size

14.6 kB

Total Files

7

Last publish

Collaborators

  • sindresorhus