Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/uniq.json

raw
1 {
2 "_id": "uniq",
3 "_rev": "29-fe937fc713e9e63c8e9af91893fb38e5",
4 "name": "uniq",
5 "description": "Removes duplicates from a sorted array in place",
6 "dist-tags": {
7 "latest": "1.0.1"
8 },
9 "versions": {
10 "0.0.0": {
11 "name": "uniq",
12 "version": "0.0.0",
13 "description": "Removes duplicates from a sorted array in place",
14 "main": "uniq.js",
15 "directories": {
16 "test": "test"
17 },
18 "dependencies": {},
19 "devDependencies": {
20 "tap": "~0.4.0"
21 },
22 "scripts": {
23 "test": "tap test/*.js"
24 },
25 "repository": {
26 "type": "git",
27 "url": "git://github.com/mikolalysenko/uniq.git"
28 },
29 "keywords": [
30 "array",
31 "duplicate",
32 "unique",
33 "uniq",
34 "remove",
35 "sort",
36 "in",
37 "place",
38 "no",
39 "copy"
40 ],
41 "author": {
42 "name": "Mikola Lysenko"
43 },
44 "license": "MIT",
45 "gitHead": "e9828cfcb97e25a351f95b39fdf3c31876ff3985",
46 "_id": "[email protected]",
47 "dist": {
48 "shasum": "cd8a2595661f6372f46077c03968d4d02c589d5b",
49 "tarball": "https://registry.npmjs.org/uniq/-/uniq-0.0.0.tgz"
50 },
51 "_from": ".",
52 "_npmVersion": "1.2.14",
53 "_npmUser": {
54 "name": "mikolalysenko",
55 "email": "[email protected]"
56 },
57 "maintainers": [
58 {
59 "name": "mikolalysenko",
60 "email": "[email protected]"
61 }
62 ]
63 },
64 "0.0.2": {
65 "name": "uniq",
66 "version": "0.0.2",
67 "description": "Removes duplicates from a sorted array in place",
68 "main": "uniq.js",
69 "directories": {
70 "test": "test"
71 },
72 "dependencies": {},
73 "devDependencies": {
74 "tap": "~0.4.0"
75 },
76 "scripts": {
77 "test": "tap test/*.js"
78 },
79 "repository": {
80 "type": "git",
81 "url": "git://github.com/mikolalysenko/uniq.git"
82 },
83 "keywords": [
84 "array",
85 "duplicate",
86 "unique",
87 "uniq",
88 "remove",
89 "sort",
90 "in",
91 "place",
92 "no",
93 "copy"
94 ],
95 "author": {
96 "name": "Mikola Lysenko"
97 },
98 "license": "MIT",
99 "gitHead": "e9828cfcb97e25a351f95b39fdf3c31876ff3985",
100 "_id": "[email protected]",
101 "dist": {
102 "shasum": "614e868ba288651d351262369317acc43b901823",
103 "tarball": "https://registry.npmjs.org/uniq/-/uniq-0.0.2.tgz"
104 },
105 "_from": ".",
106 "_npmVersion": "1.2.14",
107 "_npmUser": {
108 "name": "mikolalysenko",
109 "email": "[email protected]"
110 },
111 "maintainers": [
112 {
113 "name": "mikolalysenko",
114 "email": "[email protected]"
115 }
116 ]
117 },
118 "1.0.0": {
119 "name": "uniq",
120 "version": "1.0.0",
121 "description": "Removes duplicates from a sorted array in place",
122 "main": "uniq.js",
123 "directories": {
124 "test": "test"
125 },
126 "dependencies": {},
127 "devDependencies": {
128 "tape": "^2.12.3"
129 },
130 "scripts": {
131 "test": "tape test/*.js"
132 },
133 "repository": {
134 "type": "git",
135 "url": "git://github.com/mikolalysenko/uniq.git"
136 },
137 "keywords": [
138 "array",
139 "duplicate",
140 "unique",
141 "uniq",
142 "remove",
143 "sort",
144 "in",
145 "place",
146 "no",
147 "copy"
148 ],
149 "author": {
150 "name": "Mikola Lysenko"
151 },
152 "license": "MIT",
153 "gitHead": "e9828cfcb97e25a351f95b39fdf3c31876ff3985",
154 "bugs": {
155 "url": "https://github.com/mikolalysenko/uniq/issues"
156 },
157 "homepage": "https://github.com/mikolalysenko/uniq",
158 "_id": "[email protected]",
159 "dist": {
160 "shasum": "43c3987e15b9168c0672ea044c5248a6530fa88c",
161 "tarball": "https://registry.npmjs.org/uniq/-/uniq-1.0.0.tgz"
162 },
163 "_from": ".",
164 "_npmVersion": "1.4.3",
165 "_npmUser": {
166 "name": "mikolalysenko",
167 "email": "[email protected]"
168 },
169 "maintainers": [
170 {
171 "name": "mikolalysenko",
172 "email": "[email protected]"
173 }
174 ]
175 },
176 "1.0.1": {
177 "name": "uniq",
178 "version": "1.0.1",
179 "description": "Removes duplicates from a sorted array in place",
180 "main": "uniq.js",
181 "directories": {
182 "test": "test"
183 },
184 "dependencies": {},
185 "devDependencies": {
186 "tape": "^2.12.3"
187 },
188 "scripts": {
189 "test": "tape test/*.js"
190 },
191 "repository": {
192 "type": "git",
193 "url": "git://github.com/mikolalysenko/uniq.git"
194 },
195 "keywords": [
196 "array",
197 "duplicate",
198 "unique",
199 "uniq",
200 "remove",
201 "sort",
202 "in",
203 "place",
204 "no",
205 "copy"
206 ],
207 "author": {
208 "name": "Mikola Lysenko"
209 },
210 "license": "MIT",
211 "gitHead": "e9828cfcb97e25a351f95b39fdf3c31876ff3985",
212 "bugs": {
213 "url": "https://github.com/mikolalysenko/uniq/issues"
214 },
215 "homepage": "https://github.com/mikolalysenko/uniq",
216 "_id": "[email protected]",
217 "dist": {
218 "shasum": "b31c5ae8254844a3a8281541ce2b04b865a734ff",
219 "tarball": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz"
220 },
221 "_from": ".",
222 "_npmVersion": "1.4.3",
223 "_npmUser": {
224 "name": "mikolalysenko",
225 "email": "[email protected]"
226 },
227 "maintainers": [
228 {
229 "name": "mikolalysenko",
230 "email": "[email protected]"
231 }
232 ]
233 }
234 },
235 "readme": "uniq\n====\nRemoves all duplicates from an array in place.\n\nUsage\n=====\nFirst install using npm:\n\n npm install uniq\n \nThen use it as follows:\n\n```javascript\n\nvar arr = [1, 1, 2, 2, 3, 5]\n\nrequire(\"uniq\")(arr)\nconsole.log(arr)\n\n//Prints:\n//\n// 1,2,3,5\n//\n```\n\n## `require(\"uniq\")(array[, compare, sorted])`\nRemoves all duplicates from a sorted array in place.\n\n* `array` is the array to remove items from\n* `compare` is an optional comparison function that returns 0 when two items are equal, and something non-zero when they are different. If unspecified, then the default equals will be used.\n* `sorted` if true, then assume array is already sorted\n\n**Returns:** A reference to `array`\n\n**Time Complexity:** `O(array.length * log(arra.length))` or `O(array.length)` if `sorted`\n\n\n## Why use this instead of underscore.uniq[ue]?\nA few reasons:\n\n* This library updates the array in place without making an extra copy (and so it is faster for large arrays)\n* It also accepts a custom comparison function so you can remove duplicates from arrays containing object\n* It is more modular in the sense that it doesn't come with a bazillion other utility grab bag functions.\n\n# Credits\n(c) 2013 Mikola Lysenko. MIT License\n",
236 "maintainers": [
237 {
238 "name": "mikolalysenko",
239 "email": "[email protected]"
240 }
241 ],
242 "time": {
243 "modified": "2017-12-18T06:31:01.307Z",
244 "created": "2013-03-24T14:46:48.969Z",
245 "0.0.0": "2013-03-24T14:46:50.077Z",
246 "0.0.2": "2013-03-31T02:52:34.961Z",
247 "1.0.0": "2014-04-29T01:02:39.921Z",
248 "1.0.1": "2014-05-25T21:15:56.656Z"
249 },
250 "author": {
251 "name": "Mikola Lysenko"
252 },
253 "repository": {
254 "type": "git",
255 "url": "git://github.com/mikolalysenko/uniq.git"
256 },
257 "homepage": "https://github.com/mikolalysenko/uniq",
258 "keywords": [
259 "array",
260 "duplicate",
261 "unique",
262 "uniq",
263 "remove",
264 "sort",
265 "in",
266 "place",
267 "no",
268 "copy"
269 ],
270 "bugs": {
271 "url": "https://github.com/mikolalysenko/uniq/issues"
272 },
273 "license": "MIT",
274 "readmeFilename": "README.md",
275 "users": {
276 "supawaza": true,
277 "pedroparra": true,
278 "modao": true,
279 "nickeltobias": true,
280 "cfleschhut": true,
281 "tobiasnickel": true,
282 "benjaminaaron": true,
283 "cslater": true,
284 "klombomb": true,
285 "nichoth": true,
286 "bapinney": true,
287 "diegorbaquero": true,
288 "mrdain": true,
289 "itcorp": true,
290 "alireza29675": true,
291 "shreyawhiz": true,
292 "asadm2706": true,
293 "omkar.sheral.1989": true
294 },
295 "_attachments": {}
296 }