object-component
Object utils.
Last updated 13 years ago by tjholowaychuk .
Original npm
$ cnpm install object-component 
SYNC missed versions from official npm registry.

object

Object keys / values / length.

Example

var is = require('is');
is.date(obj);

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

Current Tags

  • 0.0.3                                ...           latest (13 years ago)

1 Versions

  • 0.0.3                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org