# array-difference

> Utility method for finding the difference between arrays

Latest version **0.0.2** (published 2020-08-30) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-08-30 |
| First published | 2013-08-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Mike Pennisi |
| Maintainers | jugglinmike |
| Keywords | utility, array |

## Links

- npm: https://www.npmjs.com/package/array-difference
- Repository: https://github.com/jugglinmike/array-difference
- Homepage: https://github.com/jugglinmike/array-difference#readme
- Issues: https://github.com/jugglinmike/array-difference/issues
- npm.io page: https://npm.io/package/array-difference

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2020-08-30
- 0.0.1 — 2013-08-01

## README

# Array Difference

[![browser support](https://ci.testling.com/jugglinmike/array-difference.png)](https://ci.testling.com/jugglinmike/array-difference)

Utility method to compute the difference between two arrays. AMD and CommonJS
compatible; works in [Node.js](http://nodejs.org) and the browser.

## Installation

    $ npm install array-difference

## Usage

    var array1 = [1, 2, 3];
    var array2 = [2, 3, 4];
    difference(array1, array2); // yeilds [1, 4]

## License

Copyright (c) 2013 [Mike Pennisi](https://github.com/jugglinmike)  
Licensed under the MIT Expat license.

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