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
- Host: GitHub
- URL: https://github.com/sindresorhus/object-values
- Owner: sindresorhus
- License: mit
- Created: 2014-02-06T17:31:09.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2023-06-21T00:28:40.000Z (about 1 year ago)
- Last Synced: 2024-04-05T08:07:04.742Z (3 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 27
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Security: .github/security.md
Lists
- awesome-micro-npm-packages - object-values - Get the values of an object. (Modules / Object)
- awesome-micro-npm-packages - object-values - Get the values of an object. (Modules / Object)
- awesome-stars - sindresorhus/object-values - Get the values of an object (JavaScript)
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)