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

sindresorhus/object-values

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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