Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dustinspecker/obj-props
- Owner: dustinspecker
- License: mit
- Created: 2016-10-01T22:30:23.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T02:12:32.000Z (5 months ago)
- Last Synced: 2024-09-19T05:43:41.080Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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)