https://github.com/fabiosantoscode/object-comprehension
https://github.com/fabiosantoscode/object-comprehension
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabiosantoscode/object-comprehension
- Owner: fabiosantoscode
- Created: 2018-12-20T22:05:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-20T23:41:58.000Z (about 7 years ago)
- Last Synced: 2025-01-17T22:45:36.573Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# object-comprehension
It's a revival of the amazing python dictionary comprehensions, for javascript.
Should work with every node version down to node 0.10.
## Installing
`npm i object-comprehension`
## Example
```javascript
const objectComprehension = require('object-comprehension') // Or import oc from 'object-comprehension'
objectComprehension([])
```