Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/sindresorhus/object-values

Get the values of an object
https://github.com/sindresorhus/object-values

Last synced: about 2 months ago
JSON representation

Get the values of an object

Lists

README

        

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)