# arr-remove

> Remove elements from a copy of an array

Latest version **1.0.0** (published 2015-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install arr-remove
pnpm add arr-remove
yarn add arr-remove
bun add arr-remove
```

## 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 | 2015-06-06 |
| First published | 2015-06-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ben Drucker |
| Maintainers | bendrucker |
| Keywords | array, remove, splice |

## Links

- npm: https://www.npmjs.com/package/arr-remove
- Repository: https://github.com/bendrucker/arr-remove
- Homepage: https://github.com/bendrucker/arr-remove#readme
- Issues: https://github.com/bendrucker/arr-remove/issues
- npm.io page: https://npm.io/package/arr-remove

## Recent versions

- 1.0.0 (latest) — 2015-06-06

## README

# arr-remove [![Build Status](https://travis-ci.org/bendrucker/arr-remove.svg?branch=master)](https://travis-ci.org/bendrucker/arr-remove)

> Remove elements from a copy of an array


## Install

```
$ npm install --save arr-remove
```

## Usage

```js
var remove = require('arr-remove');

remove([1, 2, 3], 1, 2) // => [1]
```

## API

#### `remove(input, index, count)` -> `array`

Performs removal on a copy of the input and returns the resulting array.

##### input

*Required*  
Type: `array`

##### index

*Required*  
Type: `number`  

The index at which to remove elements.

##### count

Type: `number`  
Default: `1`

The number of items to remove.


## License

MIT © [Ben Drucker](http://bendrucker.me)

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