# jerrypick

> Pluck and omit properties from a JS object

Latest version **1.1.2** (published 2025-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install jerrypick
pnpm add jerrypick
yarn add jerrypick
bun add jerrypick
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2025-04-09 |
| First published | 2019-06-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 0 |
| Unpacked size | 15.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Vasco Asturiano |
| Maintainers | vasturiano |
| Keywords | object, properties, pluck, omit |

## Links

- npm: https://www.npmjs.com/package/jerrypick
- Repository: https://github.com/vasturiano/jerrypick
- Issues: https://github.com/vasturiano/jerrypick/issues
- npm.io page: https://npm.io/package/jerrypick

## Recent versions

- 1.1.2 (latest) — 2025-04-09
- 1.1.1 — 2023-02-08
- 1.1.0 — 2023-02-07
- 1.0.5 — 2022-02-09
- 1.0.4 — 2021-05-05
- 1.0.3 — 2020-03-18
- 1.0.2 — 2020-03-16
- 1.0.1 — 2019-11-13
- 1.0.0 — 2019-06-12

## README

jerrypick
==============

[![NPM package][npm-img]][npm-url]
[![Build Size][build-size-img]][build-size-url]
[![NPM Downloads][npm-downloads-img]][npm-downloads-url]

Pluck and omit properties from a JS object.

`pluck(obj, [prop1, prop2, ...]);`
`omit(obj, [prop1, prop2, ...]);`

## Quick start

```js
import { pluck, omit } from 'jerrypick';
```
or using a *script* tag
```html
<script src="//cdn.jsdelivr.net/npm/jerrypick"></script>
```

## Usage example

```js
const myObj = {
  a: 3,
  b: 6,
  c: 9
};

pluck(myObj, ['a', 'c']);

// Result:
{ a: 3, c: 9 }

omit(myObj, ['a', 'b']);

// Result:
{ a: 3 }
```


[npm-img]: https://img.shields.io/npm/v/jerrypick
[npm-url]: https://npmjs.org/package/jerrypick
[build-size-img]: https://img.shields.io/bundlephobia/minzip/jerrypick
[build-size-url]: https://bundlephobia.com/result?p=jerrypick
[npm-downloads-img]: https://img.shields.io/npm/dt/jerrypick
[npm-downloads-url]: https://www.npmtrends.com/jerrypick

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