get-set-props
Version:
List of getter/setter properties for JavaScript types
52 lines (34 loc) • 692 B
Markdown
# get-set-props
> List of getter/setter properties for [JavaScript types](https://github.com/sindresorhus/js-types)
It's just a [JSON file](get-set-props.json) and can be used wherever.
**Forked from [Sindre Sorhus](http://sindresorhus.com)' [proto-props](https://github.com/sindresorhus/proto-props)**
## Install
```
$ npm install --save get-set-props
```
## Usage
```js
import getSetProps from 'get-set-props';
console.log(getSetProps);
/*
{
Array: [
'length',
],
ArrayBuffer: [
],
...
Error: [
'stack'
],
...
}
*/
```
## Dev
The JSON file is generated by running:
```
$ npm run generate
```
## License
MIT © [Dustin Specker](https://github.com/dustinspecker)