UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.

52 lines (34 loc) 833 B
# get-set-props [![Build Status](https://travis-ci.org/dustinspecker/get-set-props.svg?branch=master)](https://travis-ci.org/dustinspecker/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 var getSetProps = require('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)