Debian Codegraph @

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

raw
1 {
2 "_id": "y18n",
3 "_rev": "25-d6309bbd96f4ecd45cfb12d70edd6bb2",
4 "name": "y18n",
5 "description": "the bare-bones internationalization library used by yargs",
6 "dist-tags": {
7 "latest": "5.0.3",
8 "next": "4.0.0",
9 "engines-test": "6.0.0-alpha.0"
10 },
11 "versions": {
12 "1.0.0": {
13 "name": "y18n",
14 "version": "1.0.0",
15 "description": "the bare-bones internationalization library used by yargs",
16 "main": "index.js",
17 "scripts": {
18 "pretest": "standard",
19 "test": "nyc mocha"
20 },
21 "repository": {
22 "type": "git",
23 "url": "[email protected]:bcoe/y18n.git"
24 },
25 "keywords": [
26 "i18n",
27 "internationalization",
28 "yargs"
29 ],
30 "author": {
31 "name": "Ben Coe",
32 "email": "[email protected]"
33 },
34 "license": "ISC",
35 "bugs": {
36 "url": "https://github.com/bcoe/y18n/issues"
37 },
38 "homepage": "https://github.com/bcoe/y18n",
39 "devDependencies": {
40 "chai": "^3.2.0",
41 "mocha": "^2.2.5",
42 "nyc": "^3.0.1",
43 "rimraf": "^2.4.2",
44 "standard": "^4.5.4"
45 },
46 "gitHead": "da3facd10d36b380d02dfa14db367f09ff124869",
47 "_id": "[email protected]",
48 "_shasum": "408ca633ce1cb2e8e1e288acb8c7007dcb28a588",
49 "_from": ".",
50 "_npmVersion": "2.7.5",
51 "_nodeVersion": "0.10.36",
52 "_npmUser": {
53 "name": "bcoe",
54 "email": "[email protected]"
55 },
56 "dist": {
57 "shasum": "408ca633ce1cb2e8e1e288acb8c7007dcb28a588",
58 "tarball": "https://registry.npmjs.org/y18n/-/y18n-1.0.0.tgz"
59 },
60 "maintainers": [
61 {
62 "name": "bcoe",
63 "email": "[email protected]"
64 }
65 ],
66 "directories": {}
67 },
68 "1.1.0": {
69 "name": "y18n",
70 "version": "1.1.0",
71 "description": "the bare-bones internationalization library used by yargs",
72 "main": "index.js",
73 "scripts": {
74 "pretest": "standard",
75 "test": "nyc mocha",
76 "coverage": "nyc report --reporter=text-lcov | coveralls"
77 },
78 "repository": {
79 "type": "git",
80 "url": "git+ssh://[email protected]/bcoe/y18n.git"
81 },
82 "keywords": [
83 "i18n",
84 "internationalization",
85 "yargs"
86 ],
87 "author": {
88 "name": "Ben Coe",
89 "email": "[email protected]"
90 },
91 "license": "ISC",
92 "bugs": {
93 "url": "https://github.com/bcoe/y18n/issues"
94 },
95 "homepage": "https://github.com/bcoe/y18n",
96 "devDependencies": {
97 "chai": "^3.2.0",
98 "coveralls": "^2.11.3",
99 "mocha": "^2.2.5",
100 "nyc": "^3.0.1",
101 "rimraf": "^2.4.2",
102 "standard": "^4.5.4"
103 },
104 "gitHead": "84becd79cc173a7dbfd97decbbc50aec85a52694",
105 "_id": "[email protected]",
106 "_shasum": "ba6bce6ebc50bcdb66bebadcd8f2c6fa5f5d6e4d",
107 "_from": ".",
108 "_npmVersion": "2.13.2",
109 "_nodeVersion": "2.0.2",
110 "_npmUser": {
111 "name": "bcoe",
112 "email": "[email protected]"
113 },
114 "dist": {
115 "shasum": "ba6bce6ebc50bcdb66bebadcd8f2c6fa5f5d6e4d",
116 "tarball": "https://registry.npmjs.org/y18n/-/y18n-1.1.0.tgz"
117 },
118 "maintainers": [
119 {
120 "name": "bcoe",
121 "email": "[email protected]"
122 }
123 ],
124 "directories": {}
125 },
126 "2.0.0": {
127 "name": "y18n",
128 "version": "2.0.0",
129 "description": "the bare-bones internationalization library used by yargs",
130 "main": "index.js",
131 "scripts": {
132 "pretest": "standard",
133 "test": "nyc mocha",
134 "coverage": "nyc report --reporter=text-lcov | coveralls"
135 },
136 "repository": {
137 "type": "git",
138 "url": "git+ssh://[email protected]/bcoe/y18n.git"
139 },
140 "keywords": [
141 "i18n",
142 "internationalization",
143 "yargs"
144 ],
145 "author": {
146 "name": "Ben Coe",
147 "email": "[email protected]"
148 },
149 "license": "ISC",
150 "bugs": {
151 "url": "https://github.com/bcoe/y18n/issues"
152 },
153 "homepage": "https://github.com/bcoe/y18n",
154 "devDependencies": {
155 "chai": "^3.2.0",
156 "coveralls": "^2.11.3",
157 "mocha": "^2.2.5",
158 "nyc": "^3.0.1",
159 "rimraf": "^2.4.2",
160 "standard": "^4.5.4"
161 },
162 "gitHead": "17c6b1146fc008e4e95645105f1733210733e786",
163 "_id": "[email protected]",
164 "_shasum": "c4bc87a9add7962f72d208f8d04660abd774e4de",
165 "_from": ".",
166 "_npmVersion": "2.13.2",
167 "_nodeVersion": "2.0.2",
168 "_npmUser": {
169 "name": "bcoe",
170 "email": "[email protected]"
171 },
172 "dist": {
173 "shasum": "c4bc87a9add7962f72d208f8d04660abd774e4de",
174 "tarball": "https://registry.npmjs.org/y18n/-/y18n-2.0.0.tgz"
175 },
176 "maintainers": [
177 {
178 "name": "bcoe",
179 "email": "[email protected]"
180 }
181 ],
182 "directories": {}
183 },
184 "3.0.0": {
185 "name": "y18n",
186 "version": "3.0.0",
187 "description": "the bare-bones internationalization library used by yargs",
188 "main": "index.js",
189 "scripts": {
190 "pretest": "standard",
191 "test": "nyc mocha",
192 "coverage": "nyc report --reporter=text-lcov | coveralls"
193 },
194 "repository": {
195 "type": "git",
196 "url": "git+ssh://[email protected]/bcoe/y18n.git"
197 },
198 "keywords": [
199 "i18n",
200 "internationalization",
201 "yargs"
202 ],
203 "author": {
204 "name": "Ben Coe",
205 "email": "[email protected]"
206 },
207 "license": "ISC",
208 "bugs": {
209 "url": "https://github.com/bcoe/y18n/issues"
210 },
211 "homepage": "https://github.com/bcoe/y18n",
212 "devDependencies": {
213 "chai": "^3.2.0",
214 "coveralls": "^2.11.3",
215 "mocha": "^2.2.5",
216 "nyc": "^3.0.1",
217 "rimraf": "^2.4.2",
218 "standard": "^4.5.4"
219 },
220 "gitHead": "58bf38fb645839f75f0ccfae16ef819fe0df2986",
221 "_id": "[email protected]",
222 "_shasum": "848c0149c64003945d62287d6a0a3b91d7fdf6f5",
223 "_from": ".",
224 "_npmVersion": "2.13.2",
225 "_nodeVersion": "2.0.2",
226 "_npmUser": {
227 "name": "bcoe",
228 "email": "[email protected]"
229 },
230 "dist": {
231 "shasum": "848c0149c64003945d62287d6a0a3b91d7fdf6f5",
232 "tarball": "https://registry.npmjs.org/y18n/-/y18n-3.0.0.tgz"
233 },
234 "maintainers": [
235 {
236 "name": "bcoe",
237 "email": "[email protected]"
238 }
239 ],
240 "directories": {}
241 },
242 "3.1.0": {
243 "name": "y18n",
244 "version": "3.1.0",
245 "description": "the bare-bones internationalization library used by yargs",
246 "main": "index.js",
247 "scripts": {
248 "pretest": "standard",
249 "test": "nyc mocha",
250 "coverage": "nyc report --reporter=text-lcov | coveralls"
251 },
252 "repository": {
253 "type": "git",
254 "url": "git+ssh://[email protected]/bcoe/y18n.git"
255 },
256 "keywords": [
257 "i18n",
258 "internationalization",
259 "yargs"
260 ],
261 "author": {
262 "name": "Ben Coe",
263 "email": "[email protected]"
264 },
265 "license": "ISC",
266 "bugs": {
267 "url": "https://github.com/bcoe/y18n/issues"
268 },
269 "homepage": "https://github.com/bcoe/y18n",
270 "devDependencies": {
271 "chai": "^3.2.0",
272 "coveralls": "^2.11.4",
273 "mocha": "^2.2.5",
274 "nyc": "^3.1.0",
275 "rimraf": "^2.4.2",
276 "standard": "^5.1.0"
277 },
278 "gitHead": "a75460b306db0097aed0c7e12362bb222e8de90b",
279 "_id": "[email protected]",
280 "_shasum": "dfcf19493e8dd9763a3d4bd0fa673de37cf8e860",
281 "_from": ".",
282 "_npmVersion": "2.13.1",
283 "_nodeVersion": "0.12.7",
284 "_npmUser": {
285 "name": "abg",
286 "email": "[email protected]"
287 },
288 "maintainers": [
289 {
290 "name": "bcoe",
291 "email": "[email protected]"
292 },
293 {
294 "name": "abg",
295 "email": "[email protected]"
296 }
297 ],
298 "dist": {
299 "shasum": "dfcf19493e8dd9763a3d4bd0fa673de37cf8e860",
300 "tarball": "https://registry.npmjs.org/y18n/-/y18n-3.1.0.tgz"
301 },
302 "directories": {}
303 },
304 "3.2.0": {
305 "name": "y18n",
306 "version": "3.2.0",
307 "description": "the bare-bones internationalization library used by yargs",
308 "main": "index.js",
309 "scripts": {
310 "pretest": "standard",
311 "test": "nyc mocha",
312 "coverage": "nyc report --reporter=text-lcov | coveralls"
313 },
314 "repository": {
315 "type": "git",
316 "url": "git+ssh://[email protected]/bcoe/y18n.git"
317 },
318 "keywords": [
319 "i18n",
320 "internationalization",
321 "yargs"
322 ],
323 "author": {
324 "name": "Ben Coe",
325 "email": "[email protected]"
326 },
327 "license": "ISC",
328 "bugs": {
329 "url": "https://github.com/bcoe/y18n/issues"
330 },
331 "homepage": "https://github.com/bcoe/y18n",
332 "devDependencies": {
333 "chai": "^3.3.0",
334 "coveralls": "^2.11.4",
335 "mocha": "^2.3.3",
336 "nyc": "^3.2.2",
337 "rimraf": "^2.4.3",
338 "standard": "^5.3.1"
339 },
340 "gitHead": "a92184823afa8cccef4c8100a0b79338f85ab089",
341 "_id": "[email protected]",
342 "_shasum": "3bec64c93b730d924a6148c765757932433e34c8",
343 "_from": ".",
344 "_npmVersion": "2.14.2",
345 "_nodeVersion": "0.12.7",
346 "_npmUser": {
347 "name": "abg",
348 "email": "[email protected]"
349 },
350 "maintainers": [
351 {
352 "name": "bcoe",
353 "email": "[email protected]"
354 },
355 {
356 "name": "abg",
357 "email": "[email protected]"
358 }
359 ],
360 "dist": {
361 "shasum": "3bec64c93b730d924a6148c765757932433e34c8",
362 "tarball": "https://registry.npmjs.org/y18n/-/y18n-3.2.0.tgz"
363 },
364 "directories": {}
365 },
366 "3.2.1": {
367 "name": "y18n",
368 "version": "3.2.1",
369 "description": "the bare-bones internationalization library used by yargs",
370 "main": "index.js",
371 "scripts": {
372 "pretest": "standard",
373 "test": "nyc mocha",
374 "coverage": "nyc report --reporter=text-lcov | coveralls"
375 },
376 "repository": {
377 "type": "git",
378 "url": "git+ssh://[email protected]/yargs/y18n.git"
379 },
380 "files": [
381 "index.js"
382 ],
383 "keywords": [
384 "i18n",
385 "internationalization",
386 "yargs"
387 ],
388 "author": {
389 "name": "Ben Coe",
390 "email": "[email protected]"
391 },
392 "license": "ISC",
393 "bugs": {
394 "url": "https://github.com/yargs/y18n/issues"
395 },
396 "homepage": "https://github.com/yargs/y18n",
397 "devDependencies": {
398 "chai": "^3.4.1",
399 "coveralls": "^2.11.6",
400 "mocha": "^2.3.4",
401 "nyc": "^6.1.1",
402 "rimraf": "^2.5.0",
403 "standard": "^5.4.1"
404 },
405 "gitHead": "34d6ad7bfeac67721ccbcf3bbcc761f33d787c90",
406 "_id": "[email protected]",
407 "_shasum": "6d15fba884c08679c0d77e88e7759e811e07fa41",
408 "_from": ".",
409 "_npmVersion": "3.3.0",
410 "_nodeVersion": "3.2.0",
411 "_npmUser": {
412 "name": "bcoe",
413 "email": "[email protected]"
414 },
415 "dist": {
416 "shasum": "6d15fba884c08679c0d77e88e7759e811e07fa41",
417 "tarball": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz"
418 },
419 "maintainers": [
420 {
421 "name": "bcoe",
422 "email": "[email protected]"
423 },
424 {
425 "name": "nexdrew",
426 "email": "[email protected]"
427 }
428 ],
429 "_npmOperationalInternal": {
430 "host": "packages-13-west.internal.npmjs.com",
431 "tmp": "tmp/y18n-3.2.1.tgz_1458191070611_0.9606689948122948"
432 },
433 "directories": {}
434 },
435 "4.0.0": {
436 "name": "y18n",
437 "version": "4.0.0",
438 "description": "the bare-bones internationalization library used by yargs",
439 "main": "index.js",
440 "scripts": {
441 "pretest": "standard",
442 "test": "nyc mocha",
443 "coverage": "nyc report --reporter=text-lcov | coveralls",
444 "release": "standard-version"
445 },
446 "repository": {
447 "type": "git",
448 "url": "git+ssh://[email protected]/yargs/y18n.git"
449 },
450 "files": [
451 "index.js"
452 ],
453 "keywords": [
454 "i18n",
455 "internationalization",
456 "yargs"
457 ],
458 "author": {
459 "name": "Ben Coe",
460 "email": "[email protected]"
461 },
462 "license": "ISC",
463 "bugs": {
464 "url": "https://github.com/yargs/y18n/issues"
465 },
466 "homepage": "https://github.com/yargs/y18n",
467 "devDependencies": {
468 "chai": "^4.0.1",
469 "coveralls": "^3.0.0",
470 "mocha": "^4.0.1",
471 "nyc": "^11.0.1",
472 "rimraf": "^2.5.0",
473 "standard": "^10.0.0-beta.0",
474 "standard-version": "^4.2.0"
475 },
476 "gitHead": "45d2568800d6c57be045e76dc4984b2ef3432233",
477 "_id": "[email protected]",
478 "_npmVersion": "5.4.2",
479 "_nodeVersion": "8.6.0",
480 "_npmUser": {
481 "name": "nexdrew",
482 "email": "[email protected]"
483 },
484 "dist": {
485 "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==",
486 "shasum": "95ef94f85ecc81d007c264e190a120f0a3c8566b",
487 "tarball": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz"
488 },
489 "maintainers": [
490 {
491 "email": "[email protected]",
492 "name": "nexdrew"
493 },
494 {
495 "email": "[email protected]",
496 "name": "bcoe"
497 }
498 ],
499 "_npmOperationalInternal": {
500 "host": "s3://npm-registry-packages",
501 "tmp": "tmp/y18n-4.0.0.tgz_1507662196433_0.6819839081726968"
502 },
503 "directories": {}
504 },
505 "5.0.0": {
506 "name": "y18n",
507 "version": "5.0.0",
508 "description": "the bare-bones internationalization library used by yargs",
509 "exports": {
510 "import": "./index.mjs",
511 "require": "./build/index.cjs"
512 },
513 "type": "module",
514 "module": "./build/lib/index.js",
515 "types": "./build/index.cjs.d.ts",
516 "keywords": [
517 "i18n",
518 "internationalization",
519 "yargs"
520 ],
521 "homepage": "https://github.com/yargs/y18n",
522 "bugs": {
523 "url": "https://github.com/yargs/y18n/issues"
524 },
525 "repository": {
526 "type": "git",
527 "url": "git+https://github.com/yargs/y18n.git"
528 },
529 "license": "ISC",
530 "author": {
531 "name": "Ben Coe",
532 "email": "[email protected]"
533 },
534 "main": "index.js",
535 "scripts": {
536 "check": "standardx '**/*.ts' '**/*.cjs' '**/*.mjs'",
537 "fix": "standardx --fix '**/*.ts' '**/*.cjs' '**/*.mjs'",
538 "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
539 "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
540 "test:esm": "c8 --reporter=text --reporter=html mocha test/esm/*.mjs",
541 "posttest": "npm run check",
542 "coverage": "c8 report --check-coverage",
543 "precompile": "rimraf build",
544 "compile": "tsc",
545 "postcompile": "npm run build:cjs",
546 "build:cjs": "rollup -c",
547 "prepare": "npm run compile"
548 },
549 "devDependencies": {
550 "@types/node": "^14.6.4",
551 "@wessberg/rollup-plugin-ts": "^1.3.1",
552 "c8": "^7.3.0",
553 "chai": "^4.0.1",
554 "cross-env": "^7.0.2",
555 "gts": "^2.0.2",
556 "mocha": "^8.0.0",
557 "rimraf": "^3.0.2",
558 "rollup": "^2.26.10",
559 "standardx": "^5.0.0",
560 "ts-transform-default-export": "^1.0.2",
561 "typescript": "^4.0.0"
562 },
563 "engines": {
564 "node": ">=10"
565 },
566 "standardx": {
567 "ignore": [
568 "build"
569 ]
570 },
571 "gitHead": "335133842bfa398ba34d53ae17135d2604bf3e68",
572 "_id": "[email protected]",
573 "_nodeVersion": "12.18.2",
574 "_npmVersion": "6.14.5",
575 "dist": {
576 "integrity": "sha512-kmhFIXV4iTEaUF09bNkcjbwp0XKUKF5SGmKHusIj+oQOvZyfy3Z+UFkjJWbKhPiHVNExkEuw2UmCDBGELch4jA==",
577 "shasum": "8e056f5aa98abd2bcfa2cf2c3557c5d24ac472ae",
578 "tarball": "https://registry.npmjs.org/y18n/-/y18n-5.0.0.tgz",
579 "fileCount": 9,
580 "unpackedSize": 20481,
581 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUvl0CRA9TVsSAnZWagAAq08P/2j00Ww2HPHYfHimXaq2\nC1ALZRCtELgrQPln5l1V0XCvht9/VoxUJajrvu9ff2ARCWzDe2zJZ+5TwONN\nO0dVwfG+idNkarLfSH2iduGDUmAfNsWzeWvbZ3UMQuDffRlG/vTN3IKavLkT\nHEGORY+J4oX9xJcDwvG203JXK1/mL6dyuO0Y2sCW58PgiJVqUgokTHwTCyEq\n/QNqFrRRsudvdp2YvRbVeQO8ez0+LcHlPr2R51EDO4K5ecEtr8vbNAtiXPQu\nGxM9fx4UAx454VwmXhtp8wMeTPQgoy6AdceYjyukooFXneQekrNoHALvUthB\n9rsRyL8t16OjltILG0WZ4nkAKquY5Se4HuuA4YaTwIddPs23Ia+oIhPdvbU6\n927zIuIuIc0jQJ93DLXvYS3YO+bz+1KgSTJEaHvAZIWJujjAclyzxLlFakoc\nukZml0RW12DkaXr+8CqJdvL/hy7to6YUiKd5hG2btql09vUqo0uGjZsSVvP+\nrEM0bBQDVq+NQku35R8uhNjQXG4twsywVAuJzIl8NI6Cn2ZPCJabcHFR8T8W\nm7FSGjhQEbQKnIusZIxAaeJq+A6utAlrmhX3sBhVFvB5QLk7ZEoZVKH2j2aj\nEhyYUIrgt6TD3VSNmD9avq7J6AO6j2cx0/N4CDY4uVQqMJmGffV0KkWgVT2r\nfU4f\r\n=Aj11\r\n-----END PGP SIGNATURE-----\r\n"
582 },
583 "maintainers": [
584 {
585 "email": "[email protected]",
586 "name": "bcoe"
587 },
588 {
589 "email": "[email protected]",
590 "name": "nexdrew"
591 }
592 ],
593 "_npmUser": {
594 "name": "bcoe",
595 "email": "[email protected]"
596 },
597 "directories": {},
598 "_npmOperationalInternal": {
599 "host": "s3://npm-registry-packages",
600 "tmp": "tmp/y18n_5.0.0_1599273332047_0.682491923761469"
601 },
602 "_hasShrinkwrap": false
603 },
604 "5.0.1": {
605 "name": "y18n",
606 "version": "5.0.1",
607 "description": "the bare-bones internationalization library used by yargs",
608 "exports": {
609 "import": "./index.mjs",
610 "require": "./build/index.cjs"
611 },
612 "type": "module",
613 "module": "./build/lib/index.js",
614 "keywords": [
615 "i18n",
616 "internationalization",
617 "yargs"
618 ],
619 "homepage": "https://github.com/yargs/y18n",
620 "bugs": {
621 "url": "https://github.com/yargs/y18n/issues"
622 },
623 "repository": {
624 "type": "git",
625 "url": "git+https://github.com/yargs/y18n.git"
626 },
627 "license": "ISC",
628 "author": {
629 "name": "Ben Coe",
630 "email": "[email protected]"
631 },
632 "main": "./build/index.cjs",
633 "scripts": {
634 "check": "standardx '**/*.ts' '**/*.cjs' '**/*.mjs'",
635 "fix": "standardx --fix '**/*.ts' '**/*.cjs' '**/*.mjs'",
636 "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
637 "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
638 "test:esm": "c8 --reporter=text --reporter=html mocha test/esm/*.mjs",
639 "posttest": "npm run check",
640 "coverage": "c8 report --check-coverage",
641 "precompile": "rimraf build",
642 "compile": "tsc",
643 "postcompile": "npm run build:cjs",
644 "build:cjs": "rollup -c",
645 "prepare": "npm run compile"
646 },
647 "devDependencies": {
648 "@types/node": "^14.6.4",
649 "@wessberg/rollup-plugin-ts": "^1.3.1",
650 "c8": "^7.3.0",
651 "chai": "^4.0.1",
652 "cross-env": "^7.0.2",
653 "gts": "^2.0.2",
654 "mocha": "^8.0.0",
655 "rimraf": "^3.0.2",
656 "rollup": "^2.26.10",
657 "standardx": "^5.0.0",
658 "ts-transform-default-export": "^1.0.2",
659 "typescript": "^4.0.0"
660 },
661 "engines": {
662 "node": ">=10"
663 },
664 "standardx": {
665 "ignore": [
666 "build"
667 ]
668 },
669 "gitHead": "786ffdc6cdabc15fd8e50240f662ea11e67ef5cc",
670 "_id": "[email protected]",
671 "_nodeVersion": "14.9.0",
672 "_npmVersion": "6.14.8",
673 "dist": {
674 "integrity": "sha512-/jJ831jEs4vGDbYPQp4yGKDYPSCCEQ45uZWJHE1AoYBzqdZi8+LDWas0z4HrmJXmKdpFsTiowSHXdxyFhpmdMg==",
675 "shasum": "1ad2a7eddfa8bce7caa2e1f6b5da96c39d99d571",
676 "tarball": "https://registry.npmjs.org/y18n/-/y18n-5.0.1.tgz",
677 "fileCount": 9,
678 "unpackedSize": 20729,
679 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVCYICRA9TVsSAnZWagAABYwP/iojZVX1+4wla/SyTgEu\nc642hp7iVvg3eGo3J4yQ4/Pigiy4z1z9/dVXkQ/Evmm+C6I5UZcgMC2A8L4E\n7mkLeldGJFnGz80rPR3hZfxatTqUGFoN1Rr4x1gD4YwcG0koOkDbgsO5U3xy\nks7APhSIAHHG/Oj12Ldrj2d7HZpHzFgCsU/KsXc72APBlHblq0E6LDPa+Ioj\nis9SE7Xis+voKZ7A/Tuvk90T+mYBSFXaMR13cpzdo1AuUEmY5NV815PxWrq4\nXcPGtbcJ73k0d3a28AeyMbV5W3E2l72/TD7tJY0RpcBUO1G8gc4uTVb1LPQt\nlNJLOFrKi3cyBsdHbONXmrTRtGSwwkZr/6skYQ++3iX6WHxDLiRyQcWfJWQY\n5kATU1cHF0f7xPaqW/vyIt+QYeADAeS+a1557P9B9PWeOOj7MHwdDt7lIAHF\nrsAhYAryVZWH7bKavzUMIUZJ8ZeULg6gXcFOU2u2UJ07yy4f+p35U4W3uOFX\nkp//danQq003zVdNh3c5g2PwiJw/Mm3ZHs3VA21/5A8DZrhE6KsMmIclEWwy\nlOfjHYOEfn3xH+USqg1ipl6O2qpLOsMAy0Jw4UsdqB8AEyfKHrGUBvsPeeXK\n7YN1K3R4nhC57CTLtJkf4RVRdXjrUtPBZAXft2eJrunlTapQNAJPjP5kljMJ\ne3j8\r\n=1L39\r\n-----END PGP SIGNATURE-----\r\n"
680 },
681 "maintainers": [
682 {
683 "email": "[email protected]",
684 "name": "bcoe"
685 },
686 {
687 "email": "[email protected]",
688 "name": "nexdrew"
689 }
690 ],
691 "_npmUser": {
692 "name": "oss-bot",
693 "email": "[email protected]"
694 },
695 "directories": {},
696 "_npmOperationalInternal": {
697 "host": "s3://npm-registry-packages",
698 "tmp": "tmp/y18n_5.0.1_1599350279463_0.9581207231521827"
699 },
700 "_hasShrinkwrap": false
701 },
702 "6.0.0-alpha.0": {
703 "name": "y18n",
704 "version": "6.0.0-alpha.0",
705 "description": "the bare-bones internationalization library used by yargs",
706 "exports": {
707 "import": "./index.mjs",
708 "require": "./build/index.cjs"
709 },
710 "type": "module",
711 "module": "./build/lib/index.js",
712 "keywords": [
713 "i18n",
714 "internationalization",
715 "yargs"
716 ],
717 "homepage": "https://github.com/yargs/y18n",
718 "bugs": {
719 "url": "https://github.com/yargs/y18n/issues"
720 },
721 "repository": {
722 "type": "git",
723 "url": "git+https://github.com/yargs/y18n.git"
724 },
725 "license": "ISC",
726 "author": {
727 "name": "Ben Coe",
728 "email": "[email protected]"
729 },
730 "main": "./build/index.cjs",
731 "scripts": {
732 "check": "standardx '**/*.ts' '**/*.cjs' '**/*.mjs'",
733 "fix": "standardx --fix '**/*.ts' '**/*.cjs' '**/*.mjs'",
734 "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
735 "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
736 "test:esm": "c8 --reporter=text --reporter=html mocha test/esm/*.mjs",
737 "posttest": "npm run check",
738 "coverage": "c8 report --check-coverage",
739 "precompile": "rimraf build",
740 "compile": "tsc",
741 "postcompile": "npm run build:cjs",
742 "build:cjs": "rollup -c",
743 "prepare": "npm run compile"
744 },
745 "devDependencies": {
746 "@types/node": "^14.6.4",
747 "@wessberg/rollup-plugin-ts": "^1.3.1",
748 "c8": "^7.3.0",
749 "chai": "^4.0.1",
750 "cross-env": "^7.0.2",
751 "gts": "^2.0.2",
752 "mocha": "^8.0.0",
753 "rimraf": "^3.0.2",
754 "rollup": "^2.26.10",
755 "standardx": "^5.0.0",
756 "ts-transform-default-export": "^1.0.2",
757 "typescript": "^4.0.0"
758 },
759 "engines": {
760 "node": ">=12"
761 },
762 "standardx": {
763 "ignore": [
764 "build"
765 ]
766 },
767 "readme": "# y18n\n\n[![NPM version][npm-image]][npm-url]\n[![js-standard-style][standard-image]][standard-url]\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n\nThe bare-bones internationalization library used by yargs.\n\nInspired by [i18n](https://www.npmjs.com/package/i18n).\n\n## Examples\n\n_simple string translation:_\n\n```js\nconst __ = require('y18n')().__;\n\nconsole.log(__('my awesome string %s', 'foo'));\n```\n\noutput:\n\n`my awesome string foo`\n\n_using tagged template literals_\n\n```js\nconst __ = require('y18n')().__;\n\nconst str = 'foo';\n\nconsole.log(__`my awesome string ${str}`);\n```\n\noutput:\n\n`my awesome string foo`\n\n_pluralization support:_\n\n```js\nconst __n = require('y18n')().__n;\n\nconsole.log(__n('one fish %s', '%d fishes %s', 2, 'foo'));\n```\n\noutput:\n\n`2 fishes foo`\n\n## Deno Example\n\nAs of `v5` `y18n` supports [Deno](https://github.com/denoland/deno):\n\n```typescript\nimport y18n from \"https://deno.land/x/y18n/deno.ts\";\n\nconst __ = y18n({\n locale: 'pirate',\n directory: './test/locales'\n}).__\n\nconsole.info(__`Hi, ${'Ben'} ${'Coe'}!`)\n```\n\nYou will need to run with `--allow-read` to load alternative locales.\n\n## JSON Language Files\n\nThe JSON language files should be stored in a `./locales` folder.\nFile names correspond to locales, e.g., `en.json`, `pirate.json`.\n\nWhen strings are observed for the first time they will be\nadded to the JSON file corresponding to the current locale.\n\n## Methods\n\n### require('y18n')(config)\n\nCreate an instance of y18n with the config provided, options include:\n\n* `directory`: the locale directory, default `./locales`.\n* `updateFiles`: should newly observed strings be updated in file, default `true`.\n* `locale`: what locale should be used.\n* `fallbackToLanguage`: should fallback to a language-only file (e.g. `en.json`)\n be allowed if a file matching the locale does not exist (e.g. `en_US.json`),\n default `true`.\n\n### y18n.\\_\\_(str, arg, arg, arg)\n\nPrint a localized string, `%s` will be replaced with `arg`s.\n\nThis function can also be used as a tag for a template literal. You can use it\nlike this: <code>__&#96;hello ${'world'}&#96;</code>. This will be equivalent to\n`__('hello %s', 'world')`.\n\n### y18n.\\_\\_n(singularString, pluralString, count, arg, arg, arg)\n\nPrint a localized string with appropriate pluralization. If `%d` is provided\nin the string, the `count` will replace this placeholder.\n\n### y18n.setLocale(str)\n\nSet the current locale being used.\n\n### y18n.getLocale()\n\nWhat locale is currently being used?\n\n### y18n.updateLocale(obj)\n\nUpdate the current locale with the key value pairs in `obj`.\n\n## Supported Node.js Versions\n\nLibraries in this ecosystem make a best effort to track\n[Node.js' release schedule](https://nodejs.org/en/about/releases/). Here's [a\npost on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).\n\n## License\n\nISC\n\n[npm-url]: https://npmjs.org/package/y18n\n[npm-image]: https://img.shields.io/npm/v/y18n.svg\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standard-url]: https://github.com/feross/standard\n",
768 "readmeFilename": "README.md",
769 "gitHead": "9c8a079a2917b71dd55086233f4272da521fc600",
770 "_id": "[email protected]",
771 "_nodeVersion": "12.18.3",
772 "_npmVersion": "6.14.6",
773 "dist": {
774 "integrity": "sha512-J9CO+Qo98a30YwPMgXt1IetZS4823Y+KzBEWHPQYaO2sWcwtvVascTF0eNdUgU0Me3Efl36PnCygmVPdzqQmJg==",
775 "shasum": "eccd8e2176c2bf786dee53c4881cd88e3e4cbfc5",
776 "tarball": "https://registry.npmjs.org/y18n/-/y18n-6.0.0-alpha.0.tgz",
777 "fileCount": 9,
778 "unpackedSize": 20737,
779 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXBQ2CRA9TVsSAnZWagAAM+4P/16Qogev2yixoICuoNHr\n7M6kQHMOigj5oh4YCavKfO3zm8bpQNEdu21bT2SXPYxMSgVzR8hZsJi0p56D\n68MiFTkXJLWKyjmEIrXprtLYDYOSm8BkKsFG4tiV1tgoYLryWIN8F8vzYD11\nRtB8P3Wu9INr+hbwF9XNUH0JyZfeEtmrabTodZT+/PnHV7pcnnBR45zuFuiM\nHDd4cPR5/2Ngn2+UAYF8ItIchCStN1uOFLBoq86wD98tciM2sGlu1ji7ueO3\nu1TBKXqHLjVLMPvd19ZdlAoAQwclvRk0TA2YBgqjhBc4MnnyanijwVQVKccd\nfQvPtptiSo9tgy9Z/kvXnUrsKPZ3RYus5rtyKNWI9g5jtI5R1QwYCtkTI9e7\n5+hszJIN9GJ0R49E3otwHlpVgppmZ+PEL/xfcBaAovJxHDxZbkD44EAjsBRA\nCs5A/Z9vBFJe7eytdaYPeZMEwbGPNvzZuCNfb3TpK8ZUG/TLxSsLozsVgexU\n3I5424QpbrDZ9LXYg7Ies495tc30yBhdw5TxA0sxgWzPRxaCM7kKgJlN0y3D\nxYPByUAu6f1seQ57BzQ62evhPswBSp0lyH8c1rHA3D7ufNoU1oWRb4Fj7eGu\nK1B1x/83WGMgVuJ5yimeqUDnhrKSHt7aU2sjKrwyAF7W9O1MqDuWz+fpLmIF\n5Zmv\r\n=4f0P\r\n-----END PGP SIGNATURE-----\r\n"
780 },
781 "maintainers": [
782 {
783 "name": "bcoe",
784 "email": "[email protected]"
785 },
786 {
787 "name": "nexdrew",
788 "email": "[email protected]"
789 },
790 {
791 "name": "oss-bot",
792 "email": "[email protected]"
793 }
794 ],
795 "_npmUser": {
796 "name": "oss-bot",
797 "email": "[email protected]"
798 },
799 "directories": {},
800 "_npmOperationalInternal": {
801 "host": "s3://npm-registry-packages",
802 "tmp": "tmp/y18n_6.0.0-alpha.0_1599870005446_0.2345770096577866"
803 },
804 "_hasShrinkwrap": false
805 },
806 "5.0.2": {
807 "name": "y18n",
808 "version": "5.0.2",
809 "description": "the bare-bones internationalization library used by yargs",
810 "exports": {
811 "import": "./index.mjs",
812 "require": "./build/index.cjs"
813 },
814 "type": "module",
815 "module": "./build/lib/index.js",
816 "keywords": [
817 "i18n",
818 "internationalization",
819 "yargs"
820 ],
821 "homepage": "https://github.com/yargs/y18n",
822 "bugs": {
823 "url": "https://github.com/yargs/y18n/issues"
824 },
825 "repository": {
826 "type": "git",
827 "url": "git+https://github.com/yargs/y18n.git"
828 },
829 "license": "ISC",
830 "author": {
831 "name": "Ben Coe",
832 "email": "[email protected]"
833 },
834 "main": "./build/index.cjs",
835 "scripts": {
836 "check": "standardx '**/*.ts' '**/*.cjs' '**/*.mjs'",
837 "fix": "standardx --fix '**/*.ts' '**/*.cjs' '**/*.mjs'",
838 "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
839 "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
840 "test:esm": "c8 --reporter=text --reporter=html mocha test/esm/*.mjs",
841 "posttest": "npm run check",
842 "coverage": "c8 report --check-coverage",
843 "precompile": "rimraf build",
844 "compile": "tsc",
845 "postcompile": "npm run build:cjs",
846 "build:cjs": "rollup -c",
847 "prepare": "npm run compile"
848 },
849 "devDependencies": {
850 "@types/node": "^14.6.4",
851 "@wessberg/rollup-plugin-ts": "^1.3.1",
852 "c8": "^7.3.0",
853 "chai": "^4.0.1",
854 "cross-env": "^7.0.2",
855 "gts": "^2.0.2",
856 "mocha": "^8.0.0",
857 "rimraf": "^3.0.2",
858 "rollup": "^2.26.10",
859 "standardx": "^5.0.0",
860 "ts-transform-default-export": "^1.0.2",
861 "typescript": "^4.0.0"
862 },
863 "engines": {
864 "node": ">=10"
865 },
866 "standardx": {
867 "ignore": [
868 "build"
869 ]
870 },
871 "gitHead": "29e7571ece1cfa8fd5d197c284e384a2fbea79b2",
872 "_id": "[email protected]",
873 "_nodeVersion": "14.11.0",
874 "_npmVersion": "6.14.8",
875 "dist": {
876 "integrity": "sha512-CkwaeZw6dQgqgPGeTWKMXCRmMcBgETFlTml1+ZOO+q7kGst8NREJ+eWwFNPVUQ4QGdAaklbqCZHH6Zuep1RjiA==",
877 "shasum": "48218df5da2731b4403115c39a1af709c873f829",
878 "tarball": "https://registry.npmjs.org/y18n/-/y18n-5.0.2.tgz",
879 "fileCount": 9,
880 "unpackedSize": 21022,
881 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdh6fCRA9TVsSAnZWagAAsaAQAI9MDo11h0ZWwN9UGjFq\nZOFJyRuR7Er8m5VlrEs4Or5EoKnHm0kFR/baZrWWB0pSgJgQuNyqW7MXaYH8\nqFY8J5wr6pO/I6pyP91Ok6qH5gHfYhzgaH3FMFB9pP46HAVD6y+PW8qX628d\nmhN6Mo1LaLBSrudHpn4R4RRfY40dLaGECZFglZBkd5zSBSJXa81V4sJcuPB2\nCZGZMWpoCE7LBA645sCmchUEPnYyn0qLYInd4rfXtBy6DfrVCRJ+1Kf7l8Gq\nAk0/Yf/iMyzKMURxFt9vHfCfOovdXF+QQjJVNA9MgTUZ8aRjlPRkP73bsexG\nFEBBKsoE3sx9bIFEetQiUycCEqxNKp3oDJ9+Y208rKRK7mWiTQxXT9SS9p4Z\n2M/3KL8zjEJFysH6syIMv+Va52zwb6W2XnVNwUCjX09Fk6XJgqyu3nH/t6vJ\niDvPg0ZzhBMd8EOsOJ9rJfRpdlatipf7vRRfQsU/Tw+K2sZccxMNV1+B+0Hu\nIUlXtiIohIYz9qvcko9sZoDtr6Vm52NGCEaAgmn0gitBlwO5zVxGf7gS9qQx\nkRLLLcRehfPlVSvAg5R41BxIQN2yNtL2T2MnApoJ4W4+Ekq8UaFwFaVvQqN1\ngkXAbUKGH+YIxDVea9OlH4EegJdA9KK8+8+cn4v+Vy25LEJeq5+nx7wngdQi\nOUA/\r\n=hKDI\r\n-----END PGP SIGNATURE-----\r\n"
882 },
883 "maintainers": [
884 {
885 "name": "bcoe",
886 "email": "[email protected]"
887 },
888 {
889 "name": "nexdrew",
890 "email": "[email protected]"
891 },
892 {
893 "name": "oss-bot",
894 "email": "[email protected]"
895 }
896 ],
897 "_npmUser": {
898 "name": "oss-bot",
899 "email": "[email protected]"
900 },
901 "directories": {},
902 "_npmOperationalInternal": {
903 "host": "s3://npm-registry-packages",
904 "tmp": "tmp/y18n_5.0.2_1601576606909_0.7193058628251092"
905 },
906 "_hasShrinkwrap": false
907 },
908 "5.0.3": {
909 "name": "y18n",
910 "version": "5.0.3",
911 "description": "the bare-bones internationalization library used by yargs",
912 "exports": [
913 {
914 "import": "./index.mjs",
915 "require": "./build/index.cjs"
916 },
917 "./build/index.cjs"
918 ],
919 "type": "module",
920 "module": "./build/lib/index.js",
921 "keywords": [
922 "i18n",
923 "internationalization",
924 "yargs"
925 ],
926 "homepage": "https://github.com/yargs/y18n",
927 "bugs": {
928 "url": "https://github.com/yargs/y18n/issues"
929 },
930 "repository": {
931 "type": "git",
932 "url": "git+https://github.com/yargs/y18n.git"
933 },
934 "license": "ISC",
935 "author": {
936 "name": "Ben Coe",
937 "email": "[email protected]"
938 },
939 "main": "./build/index.cjs",
940 "scripts": {
941 "check": "standardx '**/*.ts' '**/*.cjs' '**/*.mjs'",
942 "fix": "standardx --fix '**/*.ts' '**/*.cjs' '**/*.mjs'",
943 "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
944 "test": "c8 --reporter=text --reporter=html mocha test/*.cjs",
945 "test:esm": "c8 --reporter=text --reporter=html mocha test/esm/*.mjs",
946 "posttest": "npm run check",
947 "coverage": "c8 report --check-coverage",
948 "precompile": "rimraf build",
949 "compile": "tsc",
950 "postcompile": "npm run build:cjs",
951 "build:cjs": "rollup -c",
952 "prepare": "npm run compile"
953 },
954 "devDependencies": {
955 "@types/node": "^14.6.4",
956 "@wessberg/rollup-plugin-ts": "^1.3.1",
957 "c8": "^7.3.0",
958 "chai": "^4.0.1",
959 "cross-env": "^7.0.2",
960 "gts": "^3.0.0",
961 "mocha": "^8.0.0",
962 "rimraf": "^3.0.2",
963 "rollup": "^2.26.10",
964 "standardx": "^5.0.0",
965 "ts-transform-default-export": "^1.0.2",
966 "typescript": "^4.0.0"
967 },
968 "engines": {
969 "node": ">=10"
970 },
971 "standardx": {
972 "ignore": [
973 "build"
974 ]
975 },
976 "gitHead": "d3584d2f1b1d98bb8a7bfd4c8c92614d1684376a",
977 "_id": "[email protected]",
978 "_nodeVersion": "14.13.1",
979 "_npmVersion": "6.14.8",
980 "dist": {
981 "integrity": "sha512-JeFbcHQ/7hVmMBXW6UB6Tg7apStHd/ztGz1JN78y3pFi/q0Ht1eA6PVkvw56gm7UA8fcJR/ziRlYEDMGoju0yQ==",
982 "shasum": "978115b82befe2b5c762bf55980b7b01a4a2d5d9",
983 "tarball": "https://registry.npmjs.org/y18n/-/y18n-5.0.3.tgz",
984 "fileCount": 9,
985 "unpackedSize": 21371,
986 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiPzQCRA9TVsSAnZWagAALcMQAJxWfGfIsRzQwm7umsq4\n9yw7cUQUOGn4ltyWJ1UUCZgd3wFw1VcmWYrx7P5Y9efAQbf5djIpFT6izBOO\n04fZb/ULw8z1VHFA1FE5TiQZU6JwbeflfNS1r+p+aNT/RnCm9GY+h01LglCQ\nb92YwoQPnBgq0NavI4DKmNyRKosb58jVCVRPj6aY8Clb7mffdd43L+71RR9L\neH+1mQ9buKCe6hFeAseIR/wIyjlmNpKSA6TdfT8URVphEBHDZHLpwTJj/6vr\nxro1ngcI+7YWSdAPiSGMna+/ilzKrK8R1tWjb/t/gr7x279/3c6xEfftgp/B\njV/U/6TRcvvwj6d409QBLxrPksZkmmfVGb2rPyrcYi6ZwZiMCNRhMea8cUwK\nvyp539i6SC/JQlJMRZL2fqfZ90iV2cwmEXPk5Cj9sCellLPuqwqudl3aca6n\nFoj+CCt4KaBpUbLOkoipqqpsxAeWes9/zO6CtbKm0uuCTa9Nd4HENYdNf+Id\nb6bWO9C3K5zO6ISSQakDPA6Ni+wQMRF3u2exRh/Of5W2UKt3+oHoTOhyh5pr\nJ0X/r1RA1bP21gH/txZZaUWEFNdFmaLOUYEjP4aob85rHOqf9YJV/pUWOtPX\n6tSfYEyIG0qQQZon2aTxsgIhiWvQjlEeKWSJRzVihMMsFI7OuEXfNVo9/0rS\nRiE9\r\n=KOEc\r\n-----END PGP SIGNATURE-----\r\n"
987 },
988 "maintainers": [
989 {
990 "name": "bcoe",
991 "email": "[email protected]"
992 },
993 {
994 "name": "nexdrew",
995 "email": "[email protected]"
996 },
997 {
998 "name": "oss-bot",
999 "email": "[email protected]"
1000 }
1001 ],
1002 "_npmUser": {
1003 "name": "oss-bot",
1004 "email": "[email protected]"
1005 },
1006 "directories": {},
1007 "_npmOperationalInternal": {
1008 "host": "s3://npm-registry-packages",
1009 "tmp": "tmp/y18n_5.0.3_1602813135466_0.6790940796421885"
1010 },
1011 "_hasShrinkwrap": false
1012 }
1013 },
1014 "readme": "# y18n\n\n[![NPM version][npm-image]][npm-url]\n[![js-standard-style][standard-image]][standard-url]\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n\nThe bare-bones internationalization library used by yargs.\n\nInspired by [i18n](https://www.npmjs.com/package/i18n).\n\n## Examples\n\n_simple string translation:_\n\n```js\nconst __ = require('y18n')().__;\n\nconsole.log(__('my awesome string %s', 'foo'));\n```\n\noutput:\n\n`my awesome string foo`\n\n_using tagged template literals_\n\n```js\nconst __ = require('y18n')().__;\n\nconst str = 'foo';\n\nconsole.log(__`my awesome string ${str}`);\n```\n\noutput:\n\n`my awesome string foo`\n\n_pluralization support:_\n\n```js\nconst __n = require('y18n')().__n;\n\nconsole.log(__n('one fish %s', '%d fishes %s', 2, 'foo'));\n```\n\noutput:\n\n`2 fishes foo`\n\n## Deno Example\n\nAs of `v5` `y18n` supports [Deno](https://github.com/denoland/deno):\n\n```typescript\nimport y18n from \"https://deno.land/x/y18n/deno.ts\";\n\nconst __ = y18n({\n locale: 'pirate',\n directory: './test/locales'\n}).__\n\nconsole.info(__`Hi, ${'Ben'} ${'Coe'}!`)\n```\n\nYou will need to run with `--allow-read` to load alternative locales.\n\n## JSON Language Files\n\nThe JSON language files should be stored in a `./locales` folder.\nFile names correspond to locales, e.g., `en.json`, `pirate.json`.\n\nWhen strings are observed for the first time they will be\nadded to the JSON file corresponding to the current locale.\n\n## Methods\n\n### require('y18n')(config)\n\nCreate an instance of y18n with the config provided, options include:\n\n* `directory`: the locale directory, default `./locales`.\n* `updateFiles`: should newly observed strings be updated in file, default `true`.\n* `locale`: what locale should be used.\n* `fallbackToLanguage`: should fallback to a language-only file (e.g. `en.json`)\n be allowed if a file matching the locale does not exist (e.g. `en_US.json`),\n default `true`.\n\n### y18n.\\_\\_(str, arg, arg, arg)\n\nPrint a localized string, `%s` will be replaced with `arg`s.\n\nThis function can also be used as a tag for a template literal. You can use it\nlike this: <code>__&#96;hello ${'world'}&#96;</code>. This will be equivalent to\n`__('hello %s', 'world')`.\n\n### y18n.\\_\\_n(singularString, pluralString, count, arg, arg, arg)\n\nPrint a localized string with appropriate pluralization. If `%d` is provided\nin the string, the `count` will replace this placeholder.\n\n### y18n.setLocale(str)\n\nSet the current locale being used.\n\n### y18n.getLocale()\n\nWhat locale is currently being used?\n\n### y18n.updateLocale(obj)\n\nUpdate the current locale with the key value pairs in `obj`.\n\n## Supported Node.js Versions\n\nLibraries in this ecosystem make a best effort to track\n[Node.js' release schedule](https://nodejs.org/en/about/releases/). Here's [a\npost on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).\n\n## License\n\nISC\n\n[npm-url]: https://npmjs.org/package/y18n\n[npm-image]: https://img.shields.io/npm/v/y18n.svg\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standard-url]: https://github.com/feross/standard\n",
1015 "maintainers": [
1016 {
1017 "name": "bcoe",
1018 "email": "[email protected]"
1019 },
1020 {
1021 "name": "nexdrew",
1022 "email": "[email protected]"
1023 },
1024 {
1025 "name": "oss-bot",
1026 "email": "[email protected]"
1027 }
1028 ],
1029 "time": {
1030 "modified": "2020-10-16T01:52:18.011Z",
1031 "created": "2015-07-27T07:19:00.467Z",
1032 "1.0.0": "2015-07-27T07:19:00.467Z",
1033 "1.1.0": "2015-07-28T04:15:40.553Z",
1034 "2.0.0": "2015-07-28T05:07:08.737Z",
1035 "3.0.0": "2015-07-29T07:35:44.735Z",
1036 "3.1.0": "2015-08-18T22:01:52.657Z",
1037 "3.2.0": "2015-09-21T20:58:01.658Z",
1038 "3.2.1": "2016-03-17T05:04:31.363Z",
1039 "4.0.0": "2017-10-10T19:03:17.301Z",
1040 "5.0.0": "2020-09-05T02:35:32.173Z",
1041 "5.0.1": "2020-09-05T23:57:59.585Z",
1042 "6.0.0-alpha.0": "2020-09-12T00:20:05.591Z",
1043 "5.0.2": "2020-10-01T18:23:27.000Z",
1044 "5.0.3": "2020-10-16T01:52:15.606Z"
1045 },
1046 "homepage": "https://github.com/yargs/y18n",
1047 "keywords": [
1048 "i18n",
1049 "internationalization",
1050 "yargs"
1051 ],
1052 "repository": {
1053 "type": "git",
1054 "url": "git+https://github.com/yargs/y18n.git"
1055 },
1056 "author": {
1057 "name": "Ben Coe",
1058 "email": "[email protected]"
1059 },
1060 "bugs": {
1061 "url": "https://github.com/yargs/y18n/issues"
1062 },
1063 "license": "ISC",
1064 "readmeFilename": "README.md",
1065 "users": {
1066 "slurm": true,
1067 "alberh": true,
1068 "terrychan": true,
1069 "arttse": true,
1070 "metaa": true,
1071 "zeligzhou": true
1072 }
1073 }