UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

154 lines (153 loc) 8.22 kB
{ "_args": [ [ { "raw": "arr-diff@^4.0.0", "scope": null, "escapedName": "arr-diff", "name": "arr-diff", "rawSpec": "^4.0.0", "spec": ">=4.0.0 <5.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\micromatch" ] ], "_from": "arr-diff@>=4.0.0 <5.0.0", "_id": "arr-diff@4.0.0", "_inCache": true, "_location": "/arr-diff", "_nodeVersion": "7.7.3", "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/arr-diff-4.0.0.tgz_1492143089001_0.8728802201803774" }, "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "_npmVersion": "4.2.0", "_phantomChildren": {}, "_requested": { "raw": "arr-diff@^4.0.0", "scope": null, "escapedName": "arr-diff", "name": "arr-diff", "rawSpec": "^4.0.0", "spec": ">=4.0.0 <5.0.0", "type": "range" }, "_requiredBy": [ "/micromatch", "/nanomatch" ], "_resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", "_shasum": "d6461074febfec71e7e15235761a329a5dc7c520", "_shrinkwrap": null, "_spec": "arr-diff@^4.0.0", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\micromatch", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/arr-diff/issues" }, "contributors": [ { "name": "Jon Schlinkert", "email": "jon.schlinkert@sellside.com", "url": "http://twitter.com/jonschlinkert" }, { "name": "Paul Miller", "email": "paul+gh@paulmillr.com", "url": "paulmillr.com" } ], "dependencies": {}, "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": { "ansi-bold": "^0.1.1", "arr-flatten": "^1.0.1", "array-differ": "^1.0.0", "benchmarked": "^0.2.4", "gulp-format-md": "^0.1.9", "minimist": "^1.2.0", "mocha": "^2.4.5" }, "directories": {}, "dist": { "shasum": "d6461074febfec71e7e15235761a329a5dc7c520", "tarball": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "0a04556fb004b3db57f57de2777b1037090f6023", "homepage": "https://github.com/jonschlinkert/arr-diff", "keywords": [ "arr", "array", "array differ", "array-differ", "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?style=flat)](https://www.npmjs.com/package/arr-diff) [![NPM monthly downloads](https://img.shields.io/npm/dm/arr-diff.svg?style=flat)](https://npmjs.org/package/arr-diff) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/arr-diff.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/arr-diff)\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 install --save arr-diff\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add arr-diff\n```\n\nInstall with [bower](https://bower.io/)\n\n```sh\n$ bower install arr-diff --save\n```\n\n## Usage\n\nReturns the difference between the first array and additional arrays.\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## Benchmarks\n\nThis library versus [array-differ](https://github.com/sindresorhus/array-differ), on April 14, 2017:\n\n```\nBenchmarking: (4 of 4)\n · long-dupes\n · long\n · med\n · short\n\n# benchmark/fixtures/long-dupes.js (100804 bytes)\n arr-diff-3.0.0 x 822 ops/sec ±0.67% (86 runs sampled)\n arr-diff-4.0.0 x 2,141 ops/sec ±0.42% (89 runs sampled)\n array-differ x 708 ops/sec ±0.70% (89 runs sampled)\n\n fastest is arr-diff-4.0.0\n\n# benchmark/fixtures/long.js (94529 bytes)\n arr-diff-3.0.0 x 882 ops/sec ±0.60% (87 runs sampled)\n arr-diff-4.0.0 x 2,329 ops/sec ±0.97% (83 runs sampled)\n array-differ x 769 ops/sec ±0.61% (90 runs sampled)\n\n fastest is arr-diff-4.0.0\n\n# benchmark/fixtures/med.js (708 bytes)\n arr-diff-3.0.0 x 856,150 ops/sec ±0.42% (89 runs sampled)\n arr-diff-4.0.0 x 4,665,249 ops/sec ±1.06% (89 runs sampled)\n array-differ x 653,888 ops/sec ±1.02% (86 runs sampled)\n\n fastest is arr-diff-4.0.0\n\n# benchmark/fixtures/short.js (60 bytes)\n arr-diff-3.0.0 x 3,078,467 ops/sec ±0.77% (93 runs sampled)\n arr-diff-4.0.0 x 9,213,296 ops/sec ±0.65% (89 runs sampled)\n array-differ x 1,337,051 ops/sec ±0.91% (92 runs sampled)\n\n fastest is arr-diff-4.0.0\n```\n\n## About\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 \"Recursively flatten an array or arrays. This is the fastest implementation of array flatten.\")\n* [array-filter](https://www.npmjs.com/package/array-filter): Array#filter for older browsers. | [homepage](https://github.com/juliangruber/array-filter \"Array#filter for older browsers.\")\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://github.com/jonschlinkert/array-intersection) | [homepage](https://github.com/jonschlinkert/array-intersection \"Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 33 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [paulmillr](https://github.com/paulmillr) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 14, 2017._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/arr-diff.git" }, "scripts": { "test": "mocha" }, "verb": { "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "arr-flatten", "array-filter", "array-intersection" ] }, "reflinks": [ "array-differ", "verb" ], "lint": { "reflinks": true } }, "version": "4.0.0" }