# pick-values

> Pick an array of values out of an object.

Latest version **1.0.1** (published 2015-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install pick-values
pnpm add pick-values
yarn add pick-values
bun add pick-values
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-09-10 |
| First published | 2015-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Blaine Bublitz |
| Maintainers | phated |
| Keywords | pick, array, object, values |

## Links

- npm: https://www.npmjs.com/package/pick-values
- Repository: https://github.com/phated/pick-values
- Issues: https://github.com/phated/pick-values/issues
- npm.io page: https://npm.io/package/pick-values

## Recent versions

- 1.0.1 (latest) — 2015-09-10
- 1.0.0 — 2015-01-17

## README

# pick-values

[![Travis Build Status](https://img.shields.io/travis/phated/pick-values.svg?branch=master&label=travis&style=flat-square)](https://travis-ci.org/phated/pick-values)

Pick an array of values out of an object.

## Usage

```js
var pickValues = require('pick-values');

var result = pickValues({ hello: 'world', foo: 'bar' }, ['hello', 'foo']);
//-> ['world', 'bar']
```

## API

### `pickValues(object, keys)`

Takes an `object` and an array (or single string) of `keys`.
Returns an ordered array of values from each of the specified keys.

## License

MIT

---
_Source: https://npm.io/package/pick-values · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
