summaryrefslogtreecommitdiff
path: root/src/node_modules/array-differ/readme.md
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-21 16:52:28 +0100
committerMinteck <contact@minteck.org>2021-12-21 16:52:28 +0100
commit46e43f4bde4a35785b4997b81e86cd19f046b69b (patch)
treec53c2f826f777f9d6b2d249dab556feb72a6c3a6 /src/node_modules/array-differ/readme.md
downloadlangdetect-46e43f4bde4a35785b4997b81e86cd19f046b69b.tar.gz
langdetect-46e43f4bde4a35785b4997b81e86cd19f046b69b.tar.bz2
langdetect-46e43f4bde4a35785b4997b81e86cd19f046b69b.zip
Commit
Diffstat (limited to 'src/node_modules/array-differ/readme.md')
-rw-r--r--src/node_modules/array-differ/readme.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/node_modules/array-differ/readme.md b/src/node_modules/array-differ/readme.md
new file mode 100644
index 0000000..b98cc06
--- /dev/null
+++ b/src/node_modules/array-differ/readme.md
@@ -0,0 +1,41 @@
+# array-differ [![Build Status](https://travis-ci.org/sindresorhus/array-differ.svg?branch=master)](https://travis-ci.org/sindresorhus/array-differ)
+
+> Create an array with values that are present in the first input array but not additional ones
+
+
+## Install
+
+```
+$ npm install array-differ
+```
+
+
+## Usage
+
+```js
+const arrayDiffer = require('array-differ');
+
+arrayDiffer([2, 3, 4], [3, 50]);
+//=> [2, 4]
+```
+
+## API
+
+### arrayDiffer(input, ...values)
+
+Returns a new array.
+
+#### input
+
+Type: `unknown[]`
+
+#### values
+
+Type: `unknown[]`
+
+Arrays of values to exclude.
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)