object-component
Object keys / values / length.
Last updated 14 years ago by tjholowaychuk .
Original npm · Tarball · package.json
$ 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)

3 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |