prototype-properties
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

prototype-properties

List of prototype properties for JavaScript types

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

Install

npm install prototype-properties

Usage

import prototypeProperties from 'prototype-properties';

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

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

}
*/

Dev

The JSON file is generated by running:

npm run build

Package Sidebar

Install

npm i prototype-properties

Weekly Downloads

34

Version

5.0.0

License

MIT

Unpacked Size

17.7 kB

Total Files

6

Last publish

Collaborators

  • sindresorhus