Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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