121 lines
5.0 KiB
JSON
121 lines
5.0 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "arr-diff@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "arr-diff",
|
|
"name": "arr-diff",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/micromatch"
|
|
]
|
|
],
|
|
"_from": "arr-diff@>=2.0.0 <3.0.0",
|
|
"_id": "arr-diff@2.0.0",
|
|
"_inCache": true,
|
|
"_location": "/arr-diff",
|
|
"_nodeVersion": "5.0.0",
|
|
"_npmUser": {
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
"_npmVersion": "3.3.6",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "arr-diff@^2.0.0",
|
|
"scope": null,
|
|
"escapedName": "arr-diff",
|
|
"name": "arr-diff",
|
|
"rawSpec": "^2.0.0",
|
|
"spec": ">=2.0.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/micromatch"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
|
|
"_shasum": "8f3b827f955a8bd669697e4a4256ac3ceae356cf",
|
|
"_shrinkwrap": null,
|
|
"_spec": "arr-diff@^2.0.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/micromatch",
|
|
"author": {
|
|
"name": "Jon Schlinkert",
|
|
"url": "https://github.com/jonschlinkert"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jonschlinkert/arr-diff/issues"
|
|
},
|
|
"dependencies": {
|
|
"arr-flatten": "^1.0.1"
|
|
},
|
|
"description": "Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.",
|
|
"devDependencies": {
|
|
"array-differ": "^1.0.0",
|
|
"array-slice": "^0.2.3",
|
|
"benchmarked": "^0.1.4",
|
|
"chalk": "^1.1.1",
|
|
"mocha": "*",
|
|
"should": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "8f3b827f955a8bd669697e4a4256ac3ceae356cf",
|
|
"tarball": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "b89f54eb88ca51afd0e0ea6be9a4a63e5ccecf27",
|
|
"homepage": "https://github.com/jonschlinkert/arr-diff",
|
|
"keywords": [
|
|
"arr",
|
|
"array",
|
|
"diff",
|
|
"differ",
|
|
"difference"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "doowb",
|
|
"email": "brian.woodward@gmail.com"
|
|
},
|
|
{
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
{
|
|
"name": "paulmillr",
|
|
"email": "paul@paulmillr.com"
|
|
}
|
|
],
|
|
"name": "arr-diff",
|
|
"optionalDependencies": {},
|
|
"readme": "# arr-diff [![NPM version](https://img.shields.io/npm/v/arr-diff.svg)](https://www.npmjs.com/package/arr-diff) [![Build Status](https://img.shields.io/travis/jonschlinkert/base.svg)](https://travis-ci.org/jonschlinkert/base)\n\n> Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i arr-diff --save\n```\nInstall with [bower](http://bower.io/)\n\n```sh\n$ bower install arr-diff --save\n```\n\n## API\n\n### [diff](index.js#L33)\n\nReturn the difference between the first array and additional arrays.\n\n**Params**\n\n* `a` **{Array}**\n* `b` **{Array}**\n* `returns` **{Array}**\n\n**Example**\n\n```js\nvar diff = require('arr-diff');\n\nvar a = ['a', 'b', 'c', 'd'];\nvar b = ['b', 'c'];\n\nconsole.log(diff(a, b))\n//=> ['a', 'd']\n```\n\n## Related projects\n\n* [arr-flatten](https://www.npmjs.com/package/arr-flatten): Recursively flatten an array or arrays. This is the fastest implementation of array flatten. | [homepage](https://github.com/jonschlinkert/arr-flatten)\n* [array-filter](https://www.npmjs.com/package/array-filter): Array#filter for older browsers. | [homepage](https://github.com/juliangruber/array-filter)\n* [array-intersection](https://www.npmjs.com/package/array-intersection): Return an array with the unique values present in _all_ given arrays using strict equality… [more](https://www.npmjs.com/package/array-intersection) | [homepage](https://github.com/jonschlinkert/array-intersection)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/arr-diff/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on Sat Dec 05 2015 23:24:53 GMT-0500 (EST)._\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jonschlinkert/arr-diff.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"verb": {
|
|
"related": {
|
|
"list": [
|
|
"arr-flatten",
|
|
"array-filter",
|
|
"array-intersection"
|
|
]
|
|
}
|
|
},
|
|
"version": "2.0.0"
|
|
}
|