| 1 |
{ |
| 2 |
"_id": "array-unique", |
| 3 |
"_rev": "17-90fa2c3e850b0292a322ef3bbfa60499", |
| 4 |
"name": "array-unique", |
| 5 |
"time": { |
| 6 |
"modified": "2018-02-07T18:31:22.178Z", |
| 7 |
"created": "2014-11-30T11:13:25.550Z", |
| 8 |
"0.1.0": "2014-11-30T11:13:25.550Z", |
| 9 |
"0.1.1": "2014-12-02T08:07:45.813Z", |
| 10 |
"0.2.0": "2015-03-11T04:22:47.615Z", |
| 11 |
"0.2.1": "2015-03-25T03:47:09.823Z", |
| 12 |
"0.3.2": "2016-08-01T00:54:49.804Z" |
| 13 |
}, |
| 14 |
"maintainers": [ |
| 15 |
{ |
| 16 |
"email": "[email protected]", |
| 17 |
"name": "doowb" |
| 18 |
}, |
| 19 |
{ |
| 20 |
"email": "[email protected]", |
| 21 |
"name": "jonschlinkert" |
| 22 |
} |
| 23 |
], |
| 24 |
"dist-tags": { |
| 25 |
"latest": "0.3.2" |
| 26 |
}, |
| 27 |
"description": "Remove duplicate values from an array. Fastest ES5 implementation.", |
| 28 |
"readme": "# array-unique [](https://www.npmjs.com/package/array-unique) [](https://npmjs.org/package/array-unique) [](https://travis-ci.org/jonschlinkert/array-unique)\n\nRemove duplicate values from an array. Fastest ES5 implementation.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save array-unique\n```\n\n## Usage\n\n```js\nvar unique = require('array-unique');\n\nvar arr = ['a', 'b', 'c', 'c'];\nconsole.log(unique(arr)) //=> ['a', 'b', 'c']\nconsole.log(arr) //=> ['a', 'b', 'c']\n\n/* The above modifies the input array. To prevent that at a slight performance cost: */\nvar unique = require(\"array-unique\").immutable;\n\nvar arr = ['a', 'b', 'c', 'c'];\nconsole.log(unique(arr)) //=> ['a', 'b', 'c']\nconsole.log(arr) //=> ['a', 'b', 'c', 'c']\n```\n\n## About\n\n### Related projects\n\n* [arr-diff](https://www.npmjs.com/package/arr-diff): Returns an array with only the unique values from the first array, by excluding all… [more](https://github.com/jonschlinkert/arr-diff) | [homepage](https://github.com/jonschlinkert/arr-diff \"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* [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* [arr-map](https://www.npmjs.com/package/arr-map): Faster, node.js focused alternative to JavaScript's native array map. | [homepage](https://github.com/jonschlinkert/arr-map \"Faster, node.js focused alternative to JavaScript's native array map.\")\n* [arr-pluck](https://www.npmjs.com/package/arr-pluck): Retrieves the value of a specified property from all elements in the collection. | [homepage](https://github.com/jonschlinkert/arr-pluck \"Retrieves the value of a specified property from all elements in the collection.\")\n* [arr-reduce](https://www.npmjs.com/package/arr-reduce): Fast array reduce that also loops over sparse elements. | [homepage](https://github.com/jonschlinkert/arr-reduce \"Fast array reduce that also loops over sparse elements.\")\n* [arr-union](https://www.npmjs.com/package/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://github.com/jonschlinkert/arr-union) | [homepage](https://github.com/jonschlinkert/arr-union \"Combines a list of arrays, returning a single array with unique values, 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### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\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 © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/array-unique/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.1.28, on July 31, 2016._", |
| 29 |
"versions": { |
| 30 |
"0.1.1": { |
| 31 |
"name": "array-unique", |
| 32 |
"description": "Return an array free of duplicate values. Fastest ES5 implementation.", |
| 33 |
"version": "0.1.1", |
| 34 |
"homepage": "https://github.com/jonschlinkert/array-unique", |
| 35 |
"author": { |
| 36 |
"name": "Jon Schlinkert", |
| 37 |
"url": "https://github.com/jonschlinkert" |
| 38 |
}, |
| 39 |
"repository": { |
| 40 |
"type": "git", |
| 41 |
"url": "git://github.com/jonschlinkert/array-unique.git" |
| 42 |
}, |
| 43 |
"bugs": { |
| 44 |
"url": "https://github.com/jonschlinkert/array-unique/issues" |
| 45 |
}, |
| 46 |
"license": { |
| 47 |
"type": "MIT", |
| 48 |
"url": "https://github.com/jonschlinkert/array-unique/blob/master/LICENSE-MIT" |
| 49 |
}, |
| 50 |
"main": "index.js", |
| 51 |
"engines": { |
| 52 |
"node": ">=0.10.0" |
| 53 |
}, |
| 54 |
"scripts": { |
| 55 |
"test": "mocha -R spec" |
| 56 |
}, |
| 57 |
"devDependencies": { |
| 58 |
"mocha": "*", |
| 59 |
"should": "*" |
| 60 |
}, |
| 61 |
"keywords": [], |
| 62 |
"_id": "[email protected]", |
| 63 |
"_shasum": "b2dc8ec765d306537d7291e0e621e849d2573cf9", |
| 64 |
"_from": ".", |
| 65 |
"_npmVersion": "1.4.9", |
| 66 |
"_npmUser": { |
| 67 |
"name": "jonschlinkert", |
| 68 |
"email": "[email protected]" |
| 69 |
}, |
| 70 |
"maintainers": [ |
| 71 |
{ |
| 72 |
"name": "jonschlinkert", |
| 73 |
"email": "[email protected]" |
| 74 |
} |
| 75 |
], |
| 76 |
"dist": { |
| 77 |
"shasum": "b2dc8ec765d306537d7291e0e621e849d2573cf9", |
| 78 |
"tarball": "https://registry.npmjs.org/array-unique/-/array-unique-0.1.1.tgz" |
| 79 |
}, |
| 80 |
"directories": {} |
| 81 |
}, |
| 82 |
"0.2.0": { |
| 83 |
"name": "array-unique", |
| 84 |
"description": "Return an array free of duplicate values. Fastest ES5 implementation.", |
| 85 |
"version": "0.2.0", |
| 86 |
"homepage": "https://github.com/jonschlinkert/array-unique", |
| 87 |
"author": { |
| 88 |
"name": "Jon Schlinkert", |
| 89 |
"url": "https://github.com/jonschlinkert" |
| 90 |
}, |
| 91 |
"repository": { |
| 92 |
"type": "git", |
| 93 |
"url": "git://github.com/jonschlinkert/array-unique.git" |
| 94 |
}, |
| 95 |
"bugs": { |
| 96 |
"url": "https://github.com/jonschlinkert/array-unique/issues" |
| 97 |
}, |
| 98 |
"license": { |
| 99 |
"type": "MIT", |
| 100 |
"url": "https://github.com/jonschlinkert/array-unique/blob/master/LICENSE" |
| 101 |
}, |
| 102 |
"files": [ |
| 103 |
"index.js" |
| 104 |
], |
| 105 |
"main": "index.js", |
| 106 |
"engines": { |
| 107 |
"node": ">=0.10.0" |
| 108 |
}, |
| 109 |
"scripts": { |
| 110 |
"test": "mocha" |
| 111 |
}, |
| 112 |
"devDependencies": { |
| 113 |
"array-uniq": "^1.0.2", |
| 114 |
"benchmarked": "^0.1.3", |
| 115 |
"mocha": "*", |
| 116 |
"should": "*" |
| 117 |
}, |
| 118 |
"gitHead": "36fde8e586fb7cf880b8b3aa6515df889e64ed85", |
| 119 |
"_id": "[email protected]", |
| 120 |
"_shasum": "11e98cdbf6ac402c26c227a1bd3c27b9abcdf3b0", |
| 121 |
"_from": ".", |
| 122 |
"_npmVersion": "2.5.1", |
| 123 |
"_nodeVersion": "0.12.0", |
| 124 |
"_npmUser": { |
| 125 |
"name": "jonschlinkert", |
| 126 |
"email": "[email protected]" |
| 127 |
}, |
| 128 |
"maintainers": [ |
| 129 |
{ |
| 130 |
"name": "jonschlinkert", |
| 131 |
"email": "[email protected]" |
| 132 |
} |
| 133 |
], |
| 134 |
"dist": { |
| 135 |
"shasum": "11e98cdbf6ac402c26c227a1bd3c27b9abcdf3b0", |
| 136 |
"tarball": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.0.tgz" |
| 137 |
}, |
| 138 |
"directories": {} |
| 139 |
}, |
| 140 |
"0.2.1": { |
| 141 |
"name": "array-unique", |
| 142 |
"description": "Return an array free of duplicate values. Fastest ES5 implementation.", |
| 143 |
"version": "0.2.1", |
| 144 |
"homepage": "https://github.com/jonschlinkert/array-unique", |
| 145 |
"author": { |
| 146 |
"name": "Jon Schlinkert", |
| 147 |
"url": "https://github.com/jonschlinkert" |
| 148 |
}, |
| 149 |
"repository": { |
| 150 |
"type": "git", |
| 151 |
"url": "git://github.com/jonschlinkert/array-unique.git" |
| 152 |
}, |
| 153 |
"bugs": { |
| 154 |
"url": "https://github.com/jonschlinkert/array-unique/issues" |
| 155 |
}, |
| 156 |
"license": { |
| 157 |
"type": "MIT", |
| 158 |
"url": "https://github.com/jonschlinkert/array-unique/blob/master/LICENSE" |
| 159 |
}, |
| 160 |
"files": [ |
| 161 |
"index.js" |
| 162 |
], |
| 163 |
"main": "index.js", |
| 164 |
"engines": { |
| 165 |
"node": ">=0.10.0" |
| 166 |
}, |
| 167 |
"scripts": { |
| 168 |
"test": "mocha" |
| 169 |
}, |
| 170 |
"devDependencies": { |
| 171 |
"array-uniq": "^1.0.2", |
| 172 |
"benchmarked": "^0.1.3", |
| 173 |
"mocha": "*", |
| 174 |
"should": "*" |
| 175 |
}, |
| 176 |
"gitHead": "36fde8e586fb7cf880b8b3aa6515df889e64ed85", |
| 177 |
"_id": "[email protected]", |
| 178 |
"_shasum": "a1d97ccafcbc2625cc70fadceb36a50c58b01a53", |
| 179 |
"_from": ".", |
| 180 |
"_npmVersion": "2.7.1", |
| 181 |
"_nodeVersion": "1.6.2", |
| 182 |
"_npmUser": { |
| 183 |
"name": "jonschlinkert", |
| 184 |
"email": "[email protected]" |
| 185 |
}, |
| 186 |
"maintainers": [ |
| 187 |
{ |
| 188 |
"name": "jonschlinkert", |
| 189 |
"email": "[email protected]" |
| 190 |
} |
| 191 |
], |
| 192 |
"dist": { |
| 193 |
"shasum": "a1d97ccafcbc2625cc70fadceb36a50c58b01a53", |
| 194 |
"tarball": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz" |
| 195 |
}, |
| 196 |
"directories": {} |
| 197 |
}, |
| 198 |
"0.3.2": { |
| 199 |
"name": "array-unique", |
| 200 |
"description": "Remove duplicate values from an array. Fastest ES5 implementation.", |
| 201 |
"version": "0.3.2", |
| 202 |
"homepage": "https://github.com/jonschlinkert/array-unique", |
| 203 |
"author": { |
| 204 |
"name": "Jon Schlinkert", |
| 205 |
"url": "https://github.com/jonschlinkert" |
| 206 |
}, |
| 207 |
"repository": { |
| 208 |
"type": "git", |
| 209 |
"url": "git+https://github.com/jonschlinkert/array-unique.git" |
| 210 |
}, |
| 211 |
"bugs": { |
| 212 |
"url": "https://github.com/jonschlinkert/array-unique/issues" |
| 213 |
}, |
| 214 |
"license": "MIT", |
| 215 |
"files": [ |
| 216 |
"index.js", |
| 217 |
"LICENSE", |
| 218 |
"README.md" |
| 219 |
], |
| 220 |
"main": "index.js", |
| 221 |
"engines": { |
| 222 |
"node": ">=0.10.0" |
| 223 |
}, |
| 224 |
"scripts": { |
| 225 |
"test": "mocha" |
| 226 |
}, |
| 227 |
"devDependencies": { |
| 228 |
"array-uniq": "^1.0.2", |
| 229 |
"benchmarked": "^0.1.3", |
| 230 |
"gulp-format-md": "^0.1.9", |
| 231 |
"mocha": "^2.5.3", |
| 232 |
"should": "^10.0.0" |
| 233 |
}, |
| 234 |
"keywords": [ |
| 235 |
"array", |
| 236 |
"unique" |
| 237 |
], |
| 238 |
"verb": { |
| 239 |
"toc": false, |
| 240 |
"layout": "default", |
| 241 |
"tasks": [ |
| 242 |
"readme" |
| 243 |
], |
| 244 |
"plugins": [ |
| 245 |
"gulp-format-md" |
| 246 |
], |
| 247 |
"related": { |
| 248 |
"list": [ |
| 249 |
"arr-diff", |
| 250 |
"arr-union", |
| 251 |
"arr-flatten", |
| 252 |
"arr-reduce", |
| 253 |
"arr-map", |
| 254 |
"arr-pluck" |
| 255 |
] |
| 256 |
}, |
| 257 |
"reflinks": [ |
| 258 |
"verb", |
| 259 |
"verb-generate-readme" |
| 260 |
], |
| 261 |
"lint": { |
| 262 |
"reflinks": true |
| 263 |
} |
| 264 |
}, |
| 265 |
"gitHead": "d95d18b0d3188fb95d3c6c2bf349b2ed926b563b", |
| 266 |
"_id": "[email protected]", |
| 267 |
"_shasum": "a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428", |
| 268 |
"_from": ".", |
| 269 |
"_npmVersion": "3.10.3", |
| 270 |
"_nodeVersion": "6.3.0", |
| 271 |
"_npmUser": { |
| 272 |
"name": "jonschlinkert", |
| 273 |
"email": "[email protected]" |
| 274 |
}, |
| 275 |
"maintainers": [ |
| 276 |
{ |
| 277 |
"name": "jonschlinkert", |
| 278 |
"email": "[email protected]" |
| 279 |
}, |
| 280 |
{ |
| 281 |
"name": "doowb", |
| 282 |
"email": "[email protected]" |
| 283 |
} |
| 284 |
], |
| 285 |
"dist": { |
| 286 |
"shasum": "a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428", |
| 287 |
"tarball": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz" |
| 288 |
}, |
| 289 |
"_npmOperationalInternal": { |
| 290 |
"host": "packages-16-east.internal.npmjs.com", |
| 291 |
"tmp": "tmp/array-unique-0.3.2.tgz_1470012889222_0.35436262167058885" |
| 292 |
}, |
| 293 |
"directories": {} |
| 294 |
} |
| 295 |
}, |
| 296 |
"homepage": "https://github.com/jonschlinkert/array-unique", |
| 297 |
"repository": { |
| 298 |
"type": "git", |
| 299 |
"url": "git+https://github.com/jonschlinkert/array-unique.git" |
| 300 |
}, |
| 301 |
"author": { |
| 302 |
"name": "Jon Schlinkert", |
| 303 |
"url": "https://github.com/jonschlinkert" |
| 304 |
}, |
| 305 |
"bugs": { |
| 306 |
"url": "https://github.com/jonschlinkert/array-unique/issues" |
| 307 |
}, |
| 308 |
"license": "MIT", |
| 309 |
"readmeFilename": "README.md", |
| 310 |
"users": { |
| 311 |
"vlazar": true, |
| 312 |
"vonthar": true, |
| 313 |
"rocket0191": true, |
| 314 |
"simonja": true |
| 315 |
}, |
| 316 |
"keywords": [ |
| 317 |
"array", |
| 318 |
"unique" |
| 319 |
], |
| 320 |
"_attachments": {} |
| 321 |
} |