Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (17 loc) · 388 Bytes

File metadata and controls

31 lines (17 loc) · 388 Bytes

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