Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/component/object
Object utilities
https://github.com/component/object
Last synced: 13 days ago
JSON representation
Object utilities
- Host: GitHub
- URL: https://github.com/component/object
- Owner: component
- License: mit
- Created: 2012-08-16T22:24:40.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-10-23T01:11:49.000Z (about 9 years ago)
- Last Synced: 2024-05-08T17:10:51.583Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 134 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# object
Object utils.
## API
### .keys(obj)
Return the keys for `obj`.
### .values(obj)
Return the values for `obj`.
### .length(obj)
Return the number of keys for `obj`.
### .isEmpty(obj)
Check if `obj` is empty.
### .merge(a, b)
Merge object `b` into `a`, returns `a`.
Precedence is given to `b`.## License
MIT