![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/thread-self/root/usr/local/lib/node_modules/forever/node_modules/y18n/ |
Upload File : |
{ "_args": [ [ "y18n@^3.2.0", "/usr/local/lib/node_modules/forever/node_modules/yargs" ] ], "_from": "y18n@>=3.2.0 <4.0.0", "_hasShrinkwrap": false, "_id": "y18n@3.2.2", "_inCache": true, "_installable": true, "_location": "/forever/y18n", "_nodeVersion": "14.14.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/y18n_3.2.2_1609800476248_0.15203860144039116" }, "_npmUser": { "email": "bencoe+oss-bot@gmail.com", "name": "oss-bot" }, "_npmVersion": "6.14.8", "_phantomChildren": {}, "_requested": { "name": "y18n", "raw": "y18n@^3.2.0", "rawSpec": "^3.2.0", "scope": null, "spec": ">=3.2.0 <4.0.0", "type": "range" }, "_requiredBy": [ "/forever/yargs" ], "_resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", "_shasum": "85c901bd6470ce71fc4bb723ad209b70f7f28696", "_shrinkwrap": null, "_spec": "y18n@^3.2.0", "_where": "/usr/local/lib/node_modules/forever/node_modules/yargs", "author": { "email": "ben@npmjs.com", "name": "Ben Coe" }, "bugs": { "url": "https://github.com/yargs/y18n/issues" }, "dependencies": {}, "description": "the bare-bones internationalization library used by yargs", "devDependencies": { "chai": "^3.4.1", "coveralls": "^2.11.6", "mocha": "^3.0.0", "nyc": "^10.0.0", "rimraf": "^2.5.0", "standard": "^10.0.0-beta.0" }, "directories": {}, "dist": { "fileCount": 5, "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf85scCRA9TVsSAnZWagAAJiEP/1w7LDZGx4QGYybO80Oi\nhb/vkfnYaBrMQCL2ApR3Vc1UaHSQh2gso6pR4C5i7SkdY3L0NpBlRotuqAOZ\nfWv5x2fDJJeqmBZFyBaklaTRTUzOoVVdanKx9E3ZGkne1H/x7ZqRmPSV+DDv\nCq3rT+z890kgSDmEl35D8d97imrmfxJdVK4izAAIlpakbtTQkLHIGfeja7iu\nCDxz0kFWjNx3jEe2jKHyEKwMKYvU57RQl0fdYFMa1LTKsYt5rynSMhOenu4p\n2kB9Har39UsBrZQVFemXjeMyLt2F343cngebFo7XxVQyI9m0cFtqeynI517r\nJFxeMFeOnfy8msT+wHn7sLlKrtRPX6pJuEBCIJanHdajjehxXAo0zcuJYeMU\n3uJnjyl1I5DzvvczoyCE0aJeexb6x/4RUvRusnk1AhJuXTm1m0FXDOaIHAHq\nNR08NWiliNkIwaPj27YyqPnC94k4brhA68lAby5SSV/hpRypwIC9n38/Jhuj\nh+C1KK/cuPjWvxWE4TNkKf8D/3Iv+7lacD5RcppVgRntK4V9rs8WQEXsxonm\nxK6k/rvWqLMCWpP9rC3Gy76LDhIQwaH5222NpMGWid1qMMf4mKGqN9igisRo\nNOH+zbfCgUINjzWaVEh6nKq0HyvAFJ0MJofrV+wpOBRiAzDWPRvht2MA1P6H\nkeCM\r\n=BVy7\r\n-----END PGP SIGNATURE-----\r\n", "shasum": "85c901bd6470ce71fc4bb723ad209b70f7f28696", "tarball": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", "unpackedSize": 9006 }, "gitHead": "90401eea9062ad498f4f792e3fff8008c4c193a3", "homepage": "https://github.com/yargs/y18n", "keywords": [ "i18n", "internationalization", "yargs" ], "license": "ISC", "main": "index.js", "maintainers": [ { "name": "bcoe", "email": "bencoe@gmail.com" }, { "name": "nexdrew", "email": "andrewbgoode@gmail.com" }, { "name": "oss-bot", "email": "bencoe+oss-bot@gmail.com" } ], "name": "y18n", "optionalDependencies": {}, "readme": "# y18n\n\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n[![NPM version][npm-image]][npm-url]\n[![js-standard-style][standard-image]][standard-url]\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\nvar __ = require('y18n').__\n\nconsole.log(__('my awesome string %s', 'foo'))\n```\n\noutput:\n\n`my awesome string foo`\n\n_pluralization support:_\n\n```js\nvar __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## 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\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## License\n\nISC\n\n[travis-url]: https://travis-ci.org/yargs/y18n\n[travis-image]: https://img.shields.io/travis/yargs/y18n.svg\n[coveralls-url]: https://coveralls.io/github/yargs/y18n\n[coveralls-image]: https://img.shields.io/coveralls/yargs/y18n.svg\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", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+ssh://git@github.com/yargs/y18n.git" }, "scripts": { "coverage": "nyc report --reporter=text-lcov | coveralls", "pretest": "standard", "test": "nyc mocha" }, "version": "3.2.2" }