Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dustinspecker/obj-props

List of properties for JavaScript objects
https://github.com/dustinspecker/obj-props

Last synced: 2 days ago
JSON representation

List of properties for JavaScript objects

Awesome Lists containing this project

README

        

# obj-props

> List of properties for JavaScript objects

It's just a [JSON file](obj-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 obj-props
```

## Usage

```js
import objProps from 'obj-props';

console.log(objProps);
/*
{
"Array": [
"arguments",
"caller",
"from",
"isArray",
"length",
"name",
"of",
"prototype"
],
"ArrayBuffer": [
"arguments",
"caller",
"isView",
"length",
"name",
"prototype"
],
"Boolean": [
"arguments",
"caller",
"length",
"name",
"prototype"
],
...
*/
```

## Dev

The JSON file is generated by running:

```
$ npm run generate
```

## License

MIT © [Dustin Specker](https://github.com/dustinspecker)