{"_id":"array-differ","_rev":"519472","name":"array-differ","description":"Create an array with values that are present in the first input array but not additional ones","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-08-10T21:35:45.000Z","created":"2014-06-20T21:58:15.371Z","4.0.0":"2021-08-10T21:33:25.179Z","3.0.0":"2019-04-08T11:05:06.494Z","2.1.0":"2019-03-02T18:56:10.509Z","2.0.3":"2016-04-27T15:49:44.135Z","2.0.2":"2016-04-27T15:44:11.059Z","2.0.1":"2016-04-27T08:19:45.535Z","2.0.0":"2016-04-27T08:13:25.120Z","1.0.0":"2014-08-13T09:50:23.511Z","0.1.0":"2014-06-20T21:58:15.371Z"},"users":{"stringparser":true,"rocket0191":true,"ninozhang":true,"lamansky":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"versions":{"4.0.0":{"name":"array-differ","version":"4.0.0","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"fcee300409aa77c843257746c8f7389ac2a9aa78","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ#readme","_id":"array-differ@4.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.13.0","dist":{"shasum":"aa3c891c653523290c880022f45b06a42051b026","size":1843,"noattachment":false,"key":"/array-differ/-/array-differ-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array-differ_4.0.0_1628631205037_0.2503369227138972"},"_hasShrinkwrap":false,"publish_time":1628631205179,"_cnpm_publish_time":1628631205179},"3.0.0":{"name":"array-differ","version":"3.0.0","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"547a0fb7fe391f94f9993e9b1cbd62e9f6f1056d","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ#readme","_id":"array-differ@3.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3cbb3d0f316810eafcc47624734237d6aee4ae6b","size":1658,"noattachment":false,"key":"/array-differ/-/array-differ-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array-differ_3.0.0_1554721506298_0.2618405109164652"},"_hasShrinkwrap":false,"publish_time":1554721506494,"_cnpm_publish_time":1554721506494},"2.1.0":{"name":"array-differ","version":"2.1.0","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"ava":"^1.2.1","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"0f1f2857375dd65cc0df0096076e8869a7325ba9","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ#readme","_id":"array-differ@2.1.0","_nodeVersion":"10.15.1","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4b9c1c3f14b906757082925769e8ab904f4801b1","size":1696,"noattachment":false,"key":"/array-differ/-/array-differ-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array-differ_2.1.0_1551552970384_0.384358245287999"},"_hasShrinkwrap":false,"publish_time":1551552970509,"_cnpm_publish_time":1551552970509},"2.0.3":{"name":"array-differ","version":"2.0.3","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"3dd2ebb8161c760113b487adf7e4509180d9f327","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ#readme","_id":"array-differ@2.0.3","_shasum":"0195bb00ccccf271106efee4a4786488b7180712","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0195bb00ccccf271106efee4a4786488b7180712","size":1523,"noattachment":false,"key":"/array-differ/-/array-differ-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-2.0.3.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/array-differ-2.0.3.tgz_1461772181717_0.3908157756086439"},"directories":{},"publish_time":1461772184135,"_cnpm_publish_time":1461772184135,"_hasShrinkwrap":false},"2.0.2":{"name":"array-differ","version":"2.0.2","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"f1b17462a9836b957841e42a6302b2a5fb4d03c5","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ#readme","_id":"array-differ@2.0.2","_shasum":"eb4c18017aee20df834b93be5a109db790f64a74","_from":".","_npmVersion":"3.8.8","_nodeVersion":"6.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"eb4c18017aee20df834b93be5a109db790f64a74","size":1395,"noattachment":false,"key":"/array-differ/-/array-differ-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-2.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/array-differ-2.0.2.tgz_1461771850623_0.6875617294572294"},"directories":{},"publish_time":1461771851059,"_cnpm_publish_time":1461771851059,"_hasShrinkwrap":false},"2.0.1":{"name":"array-differ","version":"2.0.1","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"9299f9324c3a57881f4f6da79166fdb0c7a225be","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ#readme","_id":"array-differ@2.0.1","_shasum":"8481d903f5b38b3555eec6ede4cc5efd747f368c","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8481d903f5b38b3555eec6ede4cc5efd747f368c","size":1391,"noattachment":false,"key":"/array-differ/-/array-differ-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/array-differ-2.0.1.tgz_1461745185129_0.2159448496531695"},"directories":{},"publish_time":1461745185535,"_cnpm_publish_time":1461745185535,"_hasShrinkwrap":false},"2.0.0":{"name":"array-differ","version":"2.0.0","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/array-differ.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"67a770f9c3a7bf51cdfd935a3e4b663bc446edaa","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ#readme","_id":"array-differ@2.0.0","_shasum":"edf162e76204ee41f41f408e343f95456611da8a","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"edf162e76204ee41f41f408e343f95456611da8a","size":1391,"noattachment":false,"key":"/array-differ/-/array-differ-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/array-differ-2.0.0.tgz_1461744803147_0.3021998673211783"},"directories":{},"publish_time":1461744805120,"_cnpm_publish_time":1461744805120,"_hasShrinkwrap":false},"1.0.0":{"name":"array-differ","version":"1.0.0","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/array-differ"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"mocha":"*"},"gitHead":"e91802976c4710eef8dea2090d48e48525cf41b1","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ","_id":"array-differ@1.0.0","_shasum":"eff52e3758249d33be402b8bb8e564bb2b5d4031","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"eff52e3758249d33be402b8bb8e564bb2b5d4031","size":867,"noattachment":false,"key":"/array-differ/-/array-differ-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-1.0.0.tgz"},"directories":{},"publish_time":1407923423511,"_cnpm_publish_time":1407923423511,"_hasShrinkwrap":false},"0.1.0":{"name":"array-differ","version":"0.1.0","description":"Create an array with values that are present in the first input array but not additional ones","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/array-differ"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["array","difference","diff","differ","filter","exclude"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"homepage":"https://github.com/sindresorhus/array-differ","_id":"array-differ@0.1.0","_shasum":"12e2c9b706bed47c8b483b57e487473fb0861f3a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"12e2c9b706bed47c8b483b57e487473fb0861f3a","size":863,"noattachment":false,"key":"/array-differ/-/array-differ-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-differ/download/array-differ-0.1.0.tgz"},"directories":{},"publish_time":1403301495371,"_cnpm_publish_time":1403301495371,"_hasShrinkwrap":false}},"readme":"# array-differ\n\n> Create an array with values that are present in the first input array but not additional ones\n\n## Install\n\n```\n$ npm install array-differ\n```\n\n## Usage\n\n```js\nimport arrayDiffer from 'array-differ';\n\narrayDiffer([2, 3, 4], [3, 50]);\n//=> [2, 4]\n```\n\n## API\n\n### arrayDiffer(input, ...values)\n\nReturns a new array.\n\n#### input\n\nType: `unknown[]`\n\n#### values\n\nType: `unknown[]`\n\nArrays of values to exclude.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-array-differ?utm_source=npm-array-differ&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","_attachments":{},"homepage":"https://github.com/sindresorhus/array-differ#readme","bugs":{"url":"https://github.com/sindresorhus/array-differ/issues"},"license":"MIT"}