$ gnpm install object-values
Deprecated in favor of Object.values()
.
Get the values of an object
Returns an array of own enumerable property values of an object.
$ npm install object-values
const objectValues = require('object-values');
objectValues({foo: 0, bar: 1});
//=> [0, 1]
MIT © Sindre Sorhus
Copyright 2013 - present © cnpmjs.org | Home |