pp
proto-props
npm i proto-props
pp

proto-props

List of prototype properties for JavaScript types

by Sindre Sorhus

3.0.0 (see all)License:MITTypeScript:Not Found
npm i proto-props
Readme

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

Downloads/wk

59.7K

GitHub Stars

21

LAST COMMIT

1yr ago

MAINTAINERS

1

CONTRIBUTORS

3

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
3.0.0
latest
3yrs ago
No alternatives found
No tutorials found
Add a tutorial