# reduce-without

> reduce-without

Latest version **1.0.1** (published 2016-04-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install reduce-without
pnpm add reduce-without
yarn add reduce-without
bun add reduce-without
```

## 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 | 2016-04-03 |
| First published | 2016-03-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lloyd Brookes |
| Maintainers | 75lb |

## Links

- npm: https://www.npmjs.com/package/reduce-without
- Repository: https://github.com/75lb/reduce-without
- Homepage: https://github.com/75lb/reduce-without#readme
- Issues: https://github.com/75lb/reduce-without/issues
- npm.io page: https://npm.io/package/reduce-without

## Dependencies (1)

- [test-value](https://npm.io/package/test-value.md) ^2.0.0

## Recent versions

- 1.0.1 (latest) — 2016-04-03
- 1.0.0 — 2016-03-02

## README

[![view on npm](http://img.shields.io/npm/v/reduce-without.svg)](https://www.npmjs.org/package/reduce-without)
[![npm module downloads](http://img.shields.io/npm/dt/reduce-without.svg)](https://www.npmjs.org/package/reduce-without)
[![Build Status](https://travis-ci.org/75lb/reduce-without.svg?branch=master)](https://travis-ci.org/75lb/reduce-without)
[![Dependency Status](https://david-dm.org/75lb/reduce-without.svg)](https://david-dm.org/75lb/reduce-without)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

<a name="module_reduce-without"></a>
## reduce-without
**Example**  
```js
const without = require('reduce-without')
```
<a name="exp_module_reduce-without--without"></a>
### without(toRemove) ⇒ <code>Array</code> ⏏
Returns a new array with the same content as the input minus the specified values.

**Kind**: Exported function  

| Param | Type | Description |
| --- | --- | --- |
| toRemove | <code>any</code> &#124; <code>Array.&lt;any&gt;</code> | one, or more [test-value](https://github.com/75lb/test-value) queries |

**Example**  
```js
> [ 1, 2, 3 ].reduce(without(2))
[ 1, 3 ]

> [ 1, 2, 3 ].reduce(without([ 2, 3 ]))
[ 1 ]

> data = [
    { name: "Dana", age: 30 },
    { name: "Yana", age: 20 },
    { name: "Zhana", age: 10 }
]
> data.reduce(without({ name: /ana/ }))
[]
```

* * *

&copy; 2016 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).

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