Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/widest-line.json

raw
1 {
2 "_id": "widest-line",
3 "_rev": "6-98d4009a5ac4b4eb6b0a512831d28a61",
4 "name": "widest-line",
5 "description": "Get the visual width of the widest line in a string - the number of columns required to display it",
6 "dist-tags": {
7 "latest": "3.1.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "widest-line",
12 "version": "1.0.0",
13 "description": "Get the visual width of the widest line in a string - the number of columns required to display it",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/sindresorhus/widest-line"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=0.10.0"
26 },
27 "scripts": {
28 "test": "xo && ava"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "string",
35 "str",
36 "character",
37 "char",
38 "unicode",
39 "width",
40 "visual",
41 "column",
42 "columns",
43 "fullwidth",
44 "full-width",
45 "full",
46 "ansi",
47 "escape",
48 "codes",
49 "cli",
50 "command-line",
51 "terminal",
52 "console",
53 "cjk",
54 "chinese",
55 "japanese",
56 "korean",
57 "fixed-width"
58 ],
59 "dependencies": {
60 "string-width": "^1.0.1"
61 },
62 "devDependencies": {
63 "ava": "*",
64 "xo": "*"
65 },
66 "gitHead": "8193ed602f6c06939099e574b92828edb896bb8e",
67 "bugs": {
68 "url": "https://github.com/sindresorhus/widest-line/issues"
69 },
70 "homepage": "https://github.com/sindresorhus/widest-line",
71 "_id": "[email protected]",
72 "_shasum": "0c09c85c2a94683d0d7eaf8ee097d564bf0e105c",
73 "_from": ".",
74 "_npmVersion": "2.14.7",
75 "_nodeVersion": "4.2.1",
76 "_npmUser": {
77 "name": "sindresorhus",
78 "email": "[email protected]"
79 },
80 "dist": {
81 "shasum": "0c09c85c2a94683d0d7eaf8ee097d564bf0e105c",
82 "tarball": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz"
83 },
84 "maintainers": [
85 {
86 "name": "sindresorhus",
87 "email": "[email protected]"
88 }
89 ],
90 "directories": {}
91 },
92 "2.0.0": {
93 "name": "widest-line",
94 "version": "2.0.0",
95 "description": "Get the visual width of the widest line in a string - the number of columns required to display it",
96 "license": "MIT",
97 "repository": {
98 "type": "git",
99 "url": "git+https://github.com/sindresorhus/widest-line.git"
100 },
101 "author": {
102 "name": "Sindre Sorhus",
103 "email": "[email protected]",
104 "url": "sindresorhus.com"
105 },
106 "engines": {
107 "node": ">=4"
108 },
109 "scripts": {
110 "test": "xo && ava"
111 },
112 "files": [
113 "index.js"
114 ],
115 "keywords": [
116 "string",
117 "str",
118 "character",
119 "char",
120 "unicode",
121 "width",
122 "visual",
123 "column",
124 "columns",
125 "fullwidth",
126 "full-width",
127 "full",
128 "ansi",
129 "escape",
130 "codes",
131 "cli",
132 "command-line",
133 "terminal",
134 "console",
135 "cjk",
136 "chinese",
137 "japanese",
138 "korean",
139 "fixed-width"
140 ],
141 "dependencies": {
142 "string-width": "^2.1.1"
143 },
144 "devDependencies": {
145 "ava": "*",
146 "xo": "*"
147 },
148 "gitHead": "af57e1e5eb6b7d8542eac408c64b7c34207d0d7e",
149 "bugs": {
150 "url": "https://github.com/sindresorhus/widest-line/issues"
151 },
152 "homepage": "https://github.com/sindresorhus/widest-line#readme",
153 "_id": "[email protected]",
154 "_shasum": "0142a4e8a243f8882c0233aa0e0281aa76152273",
155 "_from": ".",
156 "_npmVersion": "2.15.11",
157 "_nodeVersion": "4.8.4",
158 "_npmUser": {
159 "name": "sindresorhus",
160 "email": "[email protected]"
161 },
162 "dist": {
163 "shasum": "0142a4e8a243f8882c0233aa0e0281aa76152273",
164 "tarball": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz"
165 },
166 "maintainers": [
167 {
168 "name": "sindresorhus",
169 "email": "[email protected]"
170 }
171 ],
172 "_npmOperationalInternal": {
173 "host": "s3://npm-registry-packages",
174 "tmp": "tmp/widest-line-2.0.0.tgz_1512075148854_0.25011543300934136"
175 },
176 "directories": {}
177 },
178 "2.0.1": {
179 "name": "widest-line",
180 "version": "2.0.1",
181 "description": "Get the visual width of the widest line in a string - the number of columns required to display it",
182 "license": "MIT",
183 "repository": {
184 "type": "git",
185 "url": "git+https://github.com/sindresorhus/widest-line.git"
186 },
187 "author": {
188 "name": "Sindre Sorhus",
189 "email": "[email protected]",
190 "url": "sindresorhus.com"
191 },
192 "engines": {
193 "node": ">=4"
194 },
195 "scripts": {
196 "test": "xo && ava"
197 },
198 "keywords": [
199 "string",
200 "str",
201 "character",
202 "char",
203 "unicode",
204 "width",
205 "visual",
206 "column",
207 "columns",
208 "fullwidth",
209 "full-width",
210 "full",
211 "ansi",
212 "escape",
213 "codes",
214 "cli",
215 "command-line",
216 "terminal",
217 "console",
218 "cjk",
219 "chinese",
220 "japanese",
221 "korean",
222 "fixed-width"
223 ],
224 "dependencies": {
225 "string-width": "^2.1.1"
226 },
227 "devDependencies": {
228 "ava": "*",
229 "xo": "*"
230 },
231 "gitHead": "11fc92452ad77233a53cec179202a6c68e2b8ad3",
232 "bugs": {
233 "url": "https://github.com/sindresorhus/widest-line/issues"
234 },
235 "homepage": "https://github.com/sindresorhus/widest-line#readme",
236 "_id": "[email protected]",
237 "_npmVersion": "6.4.1",
238 "_nodeVersion": "10.12.0",
239 "_npmUser": {
240 "name": "sindresorhus",
241 "email": "[email protected]"
242 },
243 "dist": {
244 "integrity": "sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==",
245 "shasum": "7438764730ec7ef4381ce4df82fb98a53142a3fc",
246 "tarball": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.1.tgz",
247 "fileCount": 4,
248 "unpackedSize": 3159,
249 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxiolCRA9TVsSAnZWagAAjAMQAJ6ujsqqctO6++0dwIuK\niSlfJEQIxGW+JsGdYRvdeKEjgz3/tZcv6dgvoBTa0jH8Ujq+oUdtg6gFVMUS\noIVe8tyX/c8QHhWrVhO4Q6eYKkGul3ssftEIT4cC+CkD1DlJXVyB47qV4FoJ\nyslyyOquu8Z/bo1dXnI/qm1DkAMEK/QG4nuwAdPR7qRMlF6HDQmmMxIllPn4\nFaxGtuJbQTXCCa9en++llzZ7iB1OX5Q6yJq6ETwQy7vZpWP9EiozHEhxq9O/\n0uB0quHwtkU5oaN3Z9eqzlpL+mtSj4n1iQlTYgdG3YoykszLqIh6cSFKNZ6U\nA/3rnM4phTLalLCgFIixmZVIFwlnLdpQQtexB67pbL6UaWa+CFfSi2dImeOf\no/PO9nlJ2DS0IMlifyVYlMGTp+PjIPujxCdL5NpGtFjvNSQ8u+6G+pI722bp\nBPVGJ9QI4JtxCxeDjeX3K7t7dXL2N98t3H5opb+boFWapwWuY5tD7c9tKoNT\npNKXOxwm2kgHhAsieKkPUQZ2Pmv+ABIy0cUwVpDazUNQ/gbcAc+4SzDdY9hF\nuOcc/VS4bi0lNYlY7PedaXey+RJDvXokxNZZ0CEX1NHe93oAW+c/SPqxLWzJ\n46vMD1onggq6e9qv8MHq5ArAivLCyH6Coa5QvPD5c5yAtCOr8fb9u6eC37Ja\nJEGO\r\n=oEsx\r\n-----END PGP SIGNATURE-----\r\n"
250 },
251 "maintainers": [
252 {
253 "name": "sindresorhus",
254 "email": "[email protected]"
255 }
256 ],
257 "directories": {},
258 "_npmOperationalInternal": {
259 "host": "s3://npm-registry-packages",
260 "tmp": "tmp/widest-line_2.0.1_1539713572686_0.18572373483175264"
261 },
262 "_hasShrinkwrap": false
263 },
264 "3.0.0": {
265 "name": "widest-line",
266 "version": "3.0.0",
267 "description": "Get the visual width of the widest line in a string - the number of columns required to display it",
268 "license": "MIT",
269 "repository": {
270 "type": "git",
271 "url": "git+https://github.com/sindresorhus/widest-line.git"
272 },
273 "author": {
274 "name": "Sindre Sorhus",
275 "email": "[email protected]",
276 "url": "sindresorhus.com"
277 },
278 "engines": {
279 "node": ">=8"
280 },
281 "scripts": {
282 "test": "xo && ava && tsd-check"
283 },
284 "keywords": [
285 "string",
286 "character",
287 "unicode",
288 "width",
289 "visual",
290 "column",
291 "columns",
292 "fullwidth",
293 "full-width",
294 "full",
295 "ansi",
296 "escape",
297 "codes",
298 "cli",
299 "command-line",
300 "terminal",
301 "console",
302 "cjk",
303 "chinese",
304 "japanese",
305 "korean",
306 "fixed-width"
307 ],
308 "dependencies": {
309 "string-width": "^4.0.0"
310 },
311 "devDependencies": {
312 "ava": "^1.3.1",
313 "tsd-check": "^0.5.0",
314 "xo": "^0.24.0"
315 },
316 "gitHead": "7d5a88fc022524bd4593d8a4b143e16823125219",
317 "bugs": {
318 "url": "https://github.com/sindresorhus/widest-line/issues"
319 },
320 "homepage": "https://github.com/sindresorhus/widest-line#readme",
321 "_id": "[email protected]",
322 "_nodeVersion": "8.15.0",
323 "_npmVersion": "6.9.0",
324 "_npmUser": {
325 "name": "sindresorhus",
326 "email": "[email protected]"
327 },
328 "dist": {
329 "integrity": "sha512-Nnp08mP0T9qYxi6YZ9EqX5mhfQWGVO0q525bP8P2gtSmuDyfkfECfkH9J4LPK4w0F2IROlcMrFgYYcA8ckxltQ==",
330 "shasum": "3cc9ab65c4d0382cf05909900f9aa50328eba947",
331 "tarball": "https://registry.npmjs.org/widest-line/-/widest-line-3.0.0.tgz",
332 "fileCount": 5,
333 "unpackedSize": 3475,
334 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj1hFCRA9TVsSAnZWagAAmawP/19Znkw2yr07zJsDIOQA\n4C/ihlDw51F6Pu+8wyK2AEi/mLJKt8LxKRiUVM4jn6rKT+FmV9ythHghR+/s\nT3KIZfzhAs45w1NKdFeHQMh5glge07CJiuEopo01s7w8n+iMX55lsx84a5Pf\nio3tpwG3K4CpPipa4IaiDjQ2QxLdOBv4kmGFrLesjMbrBx9zy2bUQ0abzaiC\nQwGRnQAotUwiRqysvRqRRtJhc7PRZwIw+RBnu+NOrODE2bGylfL9a6kkZlgk\nlcuaBIMLtC6Tx79Y6XWG5gWDOGKbOyS391PN5mtGmXyoUVc1tcAxVWXe2yLS\nIOAzMqoC4hPF/D6Qy1JHBwqjQpNQkpjIIk5rpmooJKdrJP+D6/6lGAbQ8sGN\nqwyHz0PFgAAiRXm46QnOAQ8Ez7qXLN53m43qzNWXvkSZRxCfyYU04dAM0vNq\nhyC/cDmrZ1glpHbgvV2wCG21nrC4OYTZRwlh0vZ128YB+yJKYrsz92PGhMTe\nqopYJoMKTc6WinYNZ2z6fIxeOnvfNkKR4a49/sWGFNQZf1ANN05SLe7aYagv\n/GBLo5LE+1vjBkpWASdKSbPUTXflqh8/AhHdKZYd4VATvMIMcdb9GmwEuejU\nj1Z2rfsvbDxmQsSPneUxldO2ybV98IMzcY/g1ntGxGVuyTa8ZfNSLdeZGvuk\nJG8O\r\n=riN3\r\n-----END PGP SIGNATURE-----\r\n"
335 },
336 "maintainers": [
337 {
338 "name": "sindresorhus",
339 "email": "[email protected]"
340 }
341 ],
342 "directories": {},
343 "_npmOperationalInternal": {
344 "host": "s3://npm-registry-packages",
345 "tmp": "tmp/widest-line_3.0.0_1552898116695_0.8710302790281419"
346 },
347 "_hasShrinkwrap": false
348 },
349 "3.1.0": {
350 "name": "widest-line",
351 "version": "3.1.0",
352 "description": "Get the visual width of the widest line in a string - the number of columns required to display it",
353 "license": "MIT",
354 "repository": {
355 "type": "git",
356 "url": "git+https://github.com/sindresorhus/widest-line.git"
357 },
358 "author": {
359 "name": "Sindre Sorhus",
360 "email": "[email protected]",
361 "url": "sindresorhus.com"
362 },
363 "engines": {
364 "node": ">=8"
365 },
366 "scripts": {
367 "test": "xo && ava && tsd"
368 },
369 "keywords": [
370 "string",
371 "character",
372 "unicode",
373 "width",
374 "visual",
375 "column",
376 "columns",
377 "fullwidth",
378 "full-width",
379 "full",
380 "ansi",
381 "escape",
382 "codes",
383 "cli",
384 "command-line",
385 "terminal",
386 "console",
387 "cjk",
388 "chinese",
389 "japanese",
390 "korean",
391 "fixed-width"
392 ],
393 "dependencies": {
394 "string-width": "^4.0.0"
395 },
396 "devDependencies": {
397 "ava": "^1.4.1",
398 "tsd": "^0.7.1",
399 "xo": "^0.24.0"
400 },
401 "gitHead": "694ebd1a633abfc4048a250b57e6c17d8531350b",
402 "bugs": {
403 "url": "https://github.com/sindresorhus/widest-line/issues"
404 },
405 "homepage": "https://github.com/sindresorhus/widest-line#readme",
406 "_id": "[email protected]",
407 "_nodeVersion": "8.15.0",
408 "_npmVersion": "6.9.0",
409 "_npmUser": {
410 "name": "sindresorhus",
411 "email": "[email protected]"
412 },
413 "dist": {
414 "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==",
415 "shasum": "8292333bbf66cb45ff0de1603b136b7ae1496eca",
416 "tarball": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz",
417 "fileCount": 5,
418 "unpackedSize": 3729,
419 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoK9pCRA9TVsSAnZWagAAT0AQAJDd4hf1OkntfvRygxZN\nda46iI5FmgjWixDDxpSIf7hZ8khUHJOKreDs/dVwZIbQpieAwHpE4CQNHn+2\ntsN22pxwSYnqQ9k8LjlCYDbwV0HD8GBXWmwfIW7B5jl4tG5dhVs03yix5bGy\ns3prSi3qVEvGg74uyILi4k1rKyh4jofFDRVmd+QZhsDvVmlgllJyDMWS2n+g\npcXSEIEkyRrZEKOg3b1IvpE3DNJlN6DFKOTbaes9eU7pI35FQHgNdV8qxFRd\n5f/Q6gTYXezOojNCTHKFDq2YmNl3RJZ4N5UQBguWehD1zdkBZiOMImfckyXv\nGjxLdqmzWYeloXqylZ8VcvqR6n4Fjj04vyI5irXjOC4oXwRlyrg2eksWBwNz\nsUuVEnZ09iidAoII8PVo+NLhp1oIuzpgpNvnXwpQvWRiS+W+tTyi9x3VDiZy\n3oNW5IvqknO211gLA9gENHMeSOuGIK1+xgnH32xNvOcwScOh1eeK/0pZSagW\nJP+zi3nbgh/ikqze6dnea1fpPJMdqPaIPCP2Yt157KkombG8JbK9xXibDiLy\nPoXHqVP96DcUWVMpuD0ET/bjA2Qky2ljvUhHEQnr4yv3wvbS33Fl0oZTi50X\nrRSwdnEmIyvMDjSkvRPWArF7Kfl82lkpRwPkQKQF+m0mde518ab4ltS8k4Q9\nIutZ\r\n=q3JH\r\n-----END PGP SIGNATURE-----\r\n"
420 },
421 "maintainers": [
422 {
423 "name": "sindresorhus",
424 "email": "[email protected]"
425 }
426 ],
427 "directories": {},
428 "_npmOperationalInternal": {
429 "host": "s3://npm-registry-packages",
430 "tmp": "tmp/widest-line_3.1.0_1554034536536_0.28938338585391277"
431 },
432 "_hasShrinkwrap": false
433 }
434 },
435 "readme": "# widest-line [![Build Status](https://travis-ci.org/sindresorhus/widest-line.svg?branch=master)](https://travis-ci.org/sindresorhus/widest-line)\n\n> Get the visual width of the widest line in a string - the number of columns required to display it\n\nSome Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.\n\nUseful to be able to know the maximum width a string will take up in the terminal.\n\n\n## Install\n\n```\n$ npm install widest-line\n```\n\n\n## Usage\n\n```js\nconst widestLine = require('widest-line');\n\nwidestLine('古\\n\\u001B[1m@\\u001B[22m');\n//=> 2\n```\n\n\n## Related\n\n- [string-width](https://github.com/sindresorhus/string-width) - Get the visual width of a string\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
436 "maintainers": [
437 {
438 "name": "sindresorhus",
439 "email": "[email protected]"
440 }
441 ],
442 "time": {
443 "modified": "2019-03-31T12:15:39.474Z",
444 "created": "2015-11-04T11:31:15.944Z",
445 "1.0.0": "2015-11-04T11:31:15.944Z",
446 "2.0.0": "2017-11-30T20:52:29.986Z",
447 "2.0.1": "2018-10-16T18:12:52.795Z",
448 "3.0.0": "2019-03-18T08:35:16.856Z",
449 "3.1.0": "2019-03-31T12:15:36.826Z"
450 },
451 "homepage": "https://github.com/sindresorhus/widest-line#readme",
452 "keywords": [
453 "string",
454 "character",
455 "unicode",
456 "width",
457 "visual",
458 "column",
459 "columns",
460 "fullwidth",
461 "full-width",
462 "full",
463 "ansi",
464 "escape",
465 "codes",
466 "cli",
467 "command-line",
468 "terminal",
469 "console",
470 "cjk",
471 "chinese",
472 "japanese",
473 "korean",
474 "fixed-width"
475 ],
476 "repository": {
477 "type": "git",
478 "url": "git+https://github.com/sindresorhus/widest-line.git"
479 },
480 "author": {
481 "name": "Sindre Sorhus",
482 "email": "[email protected]",
483 "url": "sindresorhus.com"
484 },
485 "bugs": {
486 "url": "https://github.com/sindresorhus/widest-line/issues"
487 },
488 "license": "MIT",
489 "readmeFilename": "readme.md",
490 "users": {
491 "scottfreecode": true
492 }
493 }