object-values
Get the values of an object
Last updated 11 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm
$ cnpm install object-values 
SYNC missed versions from official npm registry.

object-values Build Status

Get the values of an object

Returns an array of own enumerable property values of an object.

If you target Node.js 8 or higher, just use Object.values() instead.

Install

$ npm install object-values

Usage

const objectValues = require('object-values');

objectValues({foo: 0, bar: 1});
//=> [0, 1]

License

MIT © Sindre Sorhus

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

1 Versions

  • 1.0.0                                ...           11 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 (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org