object-values
Version:
Get the values of an object
32 lines (17 loc) • 388 B
Markdown
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
```js
const objectValues = require('object-values');
objectValues({foo: 0, bar: 1});
//=> [0, 1]
```
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)