# remove-value-js

> Remove array item(s) by value

Latest version **1.0.1** (published 2024-03-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install remove-value-js
pnpm add remove-value-js
yarn add remove-value-js
bun add remove-value-js
```

## 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 | 2024-03-11 |
| First published | 2024-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | makki changel |
| Maintainers | tinhnho02 |
| Keywords | remove, array, splice, value |

## Links

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

## Dependencies (2)

- [tap](https://npm.io/package/tap.md) ~0.4.8
- [remove-value-js](https://npm.io/package/remove-value-js.md) ^1.0.0

## Recent versions

- 1.0.1 (latest) — 2024-03-11
- 1.0.0 — 2024-03-11

## README

# remove-value-js

Remove one or more elements from an array by value

## Installation

	// npm
	$ npm install remove-value-js

## Usage

	var removeValue = require('remove-value-js');

	// as a function
	removeValue([ 'apple', 'lemon', 'banana', 'lemon' ], 'lemon'); // [ 'apple', 'banana' ]

	removeValue([ 'apple', 'lemon', 'banana', 'lemon' ], 'lemon', 1); // [ 'apple', 'banana', 'lemon' ]

	// as a method
	Array.prototype.remove = removeValue;

	var list = [ 'apple', 'lemon', 'banana' ];

	list.remove('banana');
	list; // [ 'apple', 'lemon' ]

	Alters the array "by reference" and returns the array.

## License

MIT

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