Skip to content
 
 

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

object-values

Get the values of an object

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

If you target Node.js 8 or higher, just use Object.values() instead.

Install

$ npm install object-values

Usage

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

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

License

MIT © Sindre Sorhus

About

Get the values of an object

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages