Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndhoule/values
Create an array of the owned/enumerable values of an input object.
https://github.com/ndhoule/values
Last synced: 13 days ago
JSON representation
Create an array of the owned/enumerable values of an input object.
- Host: GitHub
- URL: https://github.com/ndhoule/values
- Owner: ndhoule
- License: mit
- Created: 2015-02-25T02:41:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-02T19:57:09.000Z (over 8 years ago)
- Last Synced: 2024-09-28T07:36:53.005Z (about 2 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# values [![CI][ci-badge]][ci-link]
Create a list containing the values of an input object.
## Installation
```sh
$ component install ndhoule/values
$ npm install @ndhoule/values
```## API
### `values(object : Object) => Array`
```javascript
values({ a: 1, b: 2, c: 3 });
//=> [1, 2, 3]
```## License
Released under the [MIT license](LICENSE.md).
[ci-link]: https://travis-ci.org/ndhoule/values
[ci-badge]: https://travis-ci.org/ndhoule/values.svg?branch=master