Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

proto-props

3.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

Install

npm i proto-props

DownloadsWeekly Downloads

26,523

Version

3.0.0

License

MIT

Unpacked Size

14.6 kB

Total Files

7

Last publish

Collaborators

  • avatar