object-values

v0.1.1
Get the values of an object
object values obj val properties browser

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

Metadata

  • MIT
  • >=0.10.0
  • Sindre Sorhus
  • released 3/6/2014

Downloads

Maintainers