# array-pluck

> Extract a list of property values from array with objects

Latest version **1.0.0** (published 2014-12-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install array-pluck
pnpm add array-pluck
yarn add array-pluck
bun add array-pluck
```

## 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.0 |
| Published | 2014-12-01 |
| First published | 2014-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Fredrik Forsmo |
| Maintainers | frozzare |
| Keywords | array, list, pluck, property |

## Links

- npm: https://www.npmjs.com/package/array-pluck
- Repository: https://github.com/frozzare/array-pluck
- Issues: https://github.com/frozzare/array-pluck/issues
- npm.io page: https://npm.io/package/array-pluck

## Recent versions

- 1.0.0 (latest) — 2014-12-01
- 0.1.0 — 2014-06-22

## README

# array-pluck [![Build Status](https://secure.travis-ci.org/frozzare/array-pluck.png?branch=master)](http://travis-ci.org/frozzare/array-pluck)

Extract a list of property values from array with objects

Install the module with: `npm install array-pluck`

## Example

```javascript
var peoples = [
      { name: 'Fredrik', age: 22, favorites: { fruit: 'Pineapple' } },
      { name: 'Elli', age: 22, favorites: { fruit: 'Apple' } }
    ]
  , result = arrayPluck(peoples, 'favorites.fruit');
  
console.log(result); // ['Pineapple', 'Apple']
```

## License
Copyright (c) 2014 Fredrik Forsmo  
Licensed under the MIT license.

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