canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.
55 lines (38 loc) • 773 B
Markdown
# proto-props [](https://travis-ci.org/sindresorhus/proto-props)
> List of prototype properties for [JavaScript types](https://github.com/sindresorhus/js-types)
It's just a [JSON file](proto-props.json) and can be used wherever.
## Install
```
$ npm install --save proto-props
```
## Usage
```js
const protoProps = require('proto-props');
console.log(protoProps);
/*
{
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](http://sindresorhus.com)