3.0.0 • Published 3 years ago

object-values v3.0.0

Weekly downloads
99,568
License
MIT
Repository
github
Last release
3 years ago

Deprecated in favor of Object.values().


object-values

Get the values of an object

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

Install

$ npm install object-values

Usage

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

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

License

MIT © Sindre Sorhus