{"_id":"@boxid/plurals-cldr","_rev":"3-a06bdc8421aef7c5f8ef3a5fe02762a0","name":"@boxid/plurals-cldr","dist-tags":{"latest":"1.36.0"},"versions":{"1.0.3":{"name":"@boxid/plurals-cldr","version":"1.0.3","description":"Plurals suport, generated from CLDR.","keywords":["i18n","l10n","plural","plurals","pluralize","pluralizer","clrd","ldml"],"author":{"name":"Vitaly Puzrin","url":"https://github.com/puzrin"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/nodeca/plurals-cldr.git"},"scripts":{"test":"make test"},"devDependencies":{"browserify":"^16.5.1","cldr-data":"^36.0.0","coveralls":"^3.0.13","eslint":"^3.9.1","istanbul":"^0.4.5","lodash":"^4.17.15","mocha":"^7.1.1","uglify-js":"^3.9.1"},"gitHead":"5b1eec89b293872aaa8fa98d5954fd8a9c9e3241","bugs":{"url":"https://github.com/nodeca/plurals-cldr/issues"},"homepage":"https://github.com/nodeca/plurals-cldr#readme","_id":"@boxid/plurals-cldr@1.0.3","_nodeVersion":"11.12.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-22Un5Qwo+ocUU3B5XrLYwdQna40XiCwXimuaGlZTSW4LAh5/ReU4uxSJV5AzSFDN0lRkm2Yv2kXdI94pCu5L0g==","shasum":"b22242abb2b972076b37f280afa625a0322a3bdd","tarball":"https://registry.npmjs.org/@boxid/plurals-cldr/-/plurals-cldr-1.0.3.tgz","fileCount":7,"unpackedSize":46703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoW5oCRA9TVsSAnZWagAAe+sQAIrNpGUKgDkkjyBgKiEv\nITtB0wy+0UXockyCFDbe2dSaoJAiLnoPWgKOUYCXb6LZG3xbdFQar4XucwkU\nJsicqa4hHH1jtfj5sbi3H2g695PAR3LjmT4JHBYCh4i3jSKdSKX8hGFwKGSW\nAwjl/4KUnBdrgV+C5atlQ6FC7eVUZSulkRol0vcEzKzib/JSR5cXuUQsCbYw\n1Xf1zxIn+vtxomIkOIgDgenbxwM7NKWpnAygSV7TJS0EQIgeuXZBGku46WlL\nlFeaA6Qsgac7o37O9Aj6JUyzZCA9j5A1NYR7z7iaehKyDsOz8s3pt3gWTtbh\n0v3NTevmdJcHkgzfIZfbRA6d9O3ZmBNu0RjgSSlSp8ay9kvhgB6msN36jX75\nUya7gaG2NwzagwnvHv40UJtU8NXj55gi3pVdd6dzxTuLwzuBbXGXisz6PQ3D\nHOiDWEBfklwmeeZWJVZR0BYvAuiCmv2cuwTDB2l/xhbNEE3jG+Lo5rZkzMCR\n6XHkWHAZj9GWICsCKQMml9/1+m7t3w5tF9ufrGhOFmhTPPh+RZXxIRh7X3To\nmEkeIYym1miGvjMLTVQMhC9mfBMfjr3ORlL822Xz5clzcIkU9NFKSyl0Ztp/\n+2B1FygbKcDF2S0lyzq/NK68BsOZlNx2WUpKInP9Z3HC58V7jhUWDN1ygH8m\nccDD\r\n=0D+y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICawvHAuC8TM/p1xWbjV9cURIEP9M+Rp/KY0Yejp0RV/AiBkXdTR3WuKd2nYKPi3bOinPIlpPj1DaMFLMi0JnQlFDA=="}]},"maintainers":[{"name":"itbx-s","email":"it@bx-s.de"}],"_npmUser":{"name":"itbx-s","email":"it@bx-s.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plurals-cldr_1.0.3_1587637863947_0.505794092634551"},"_hasShrinkwrap":false},"1.1.0":{"name":"@boxid/plurals-cldr","version":"1.1.0","description":"Plurals suport, generated from CLDR.","keywords":["i18n","l10n","plural","plurals","pluralize","pluralizer","clrd","ldml"],"author":{"name":"Vitaly Puzrin","url":"https://github.com/puzrin"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/nodeca/plurals-cldr.git"},"scripts":{"test":"make test"},"devDependencies":{"browserify":"^16.5.1","cldr-data":"^36.0.0","coveralls":"^3.0.13","eslint":"^3.9.1","istanbul":"^0.4.5","lodash":"^4.17.15","mocha":"^7.1.1","uglify-js":"^3.9.1"},"gitHead":"5b1eec89b293872aaa8fa98d5954fd8a9c9e3241","bugs":{"url":"https://github.com/nodeca/plurals-cldr/issues"},"homepage":"https://github.com/nodeca/plurals-cldr#readme","_id":"@boxid/plurals-cldr@1.1.0","_nodeVersion":"11.12.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-FcA2etIQRiHl/z5sQFuer9VjARGpcXfGbA9zbAHBiJXrK3tnvHT4+5dXTJf46OkPv9CwlWdRm70IBbzkW5H86A==","shasum":"d2acc12ca6a270b87890618e3ef1d8406460af36","tarball":"https://registry.npmjs.org/@boxid/plurals-cldr/-/plurals-cldr-1.1.0.tgz","fileCount":7,"unpackedSize":46703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoW59CRA9TVsSAnZWagAAfvAQAIHtP3fmpZ0lpm9vKnA5\nHxG4xBjnPznEqSTnuSPlzXAzOqDbVb8uPYKxGtJZZ0Wqn/L5Yhxm82QrTBQo\nEpmLTJg7a5Y0g2fbxxz1jwWuMZN0rh2Slf0gNfZbiaFcAMnIREzjE40npk5l\ncG9IFMz5cu9hsY8supzNcHLHAzpkMLNxEdaSXWU0cHWCO3oKLEMzbTMfqd0u\nZc1gU2vGoCYO06JgDkhjDQtR0YIJyrpBHlVO7iiVckILFjNct+kkHDNTgasL\nZWsqm3kRgqr/Fhq5Jz6Ub/rn3Ly37w7SdKyEUYP4CCCdTMgOcwYJ8qqXYnpk\nJ9MdF1CeJGBBt6SMN0HG8my7DjhR7PvXFQG6Q5/KWucQs/jrP66Vb8/WJVfx\nmdZyI9bG5G5EqtzLQe67yHvC1nzszSkHE4YDihrCRcRhWdZmzcVImHwY216r\nlpwbr0fdmlEjZEdPxGEFbTG8Tk1ZbR8rHyy0t67loYh0XIPYdt4MVW1AkaUF\nOZta2dNT0L4jTKje+vvPWDUoK81i5ptj9woYs6ElVi7LsBu+cWkk8g2IwIUx\nhnSbNAfmNk+VAaCuxTnIOQXdIXgZ9C2QzxAshmoAv55Sg6X54v/7rXe5yeZ1\naj0ccLhmJDeJpqPMlpdXG53cEnEkOkgiickDU4+miLOCs/A8SLiUqxtKpJiG\n8nMe\r\n=KnyH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4oSD1tz4DAEgLtknoCJCYaLeFwsLapq+MklC3ax+YVwIgJBchSxAuRLDPUWNgyb695oMqC4/dayyFVkDDjdb9EW0="}]},"maintainers":[{"name":"itbx-s","email":"it@bx-s.de"}],"_npmUser":{"name":"itbx-s","email":"it@bx-s.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plurals-cldr_1.1.0_1587637884961_0.6016541543143701"},"_hasShrinkwrap":false},"1.36.0":{"name":"@boxid/plurals-cldr","version":"1.36.0","description":"Plurals suport, generated from CLDR.","keywords":["i18n","l10n","plural","plurals","pluralize","pluralizer","clrd","ldml"],"author":{"name":"Vitaly Puzrin","url":"https://github.com/puzrin"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/nodeca/plurals-cldr.git"},"scripts":{"test":"make test"},"devDependencies":{"browserify":"^16.5.1","cldr-data":"^36.0.0","coveralls":"^3.0.13","eslint":"^3.9.1","istanbul":"^0.4.5","lodash":"^4.17.15","mocha":"^7.1.1","uglify-js":"^3.9.1"},"gitHead":"5b1eec89b293872aaa8fa98d5954fd8a9c9e3241","bugs":{"url":"https://github.com/nodeca/plurals-cldr/issues"},"homepage":"https://github.com/nodeca/plurals-cldr#readme","_id":"@boxid/plurals-cldr@1.36.0","_nodeVersion":"11.12.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-1HXiiuc2aWDPcDWYjwyoZyWpch6m5jYzOgLfMJLz3DWXh4ApiIWj8alf5WuTEuSY8qBoBHdSE8naIvVsOgmaUQ==","shasum":"95568b48cb3bd978f0867bd8e5acfeae8cbc4068","tarball":"https://registry.npmjs.org/@boxid/plurals-cldr/-/plurals-cldr-1.36.0.tgz","fileCount":7,"unpackedSize":46704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoW9ZCRA9TVsSAnZWagAAvWQP/iaplAGRfaaOzBy9EVjk\n3Q1uDPfagRW/+Uy7BjvhLgIBZCiji//v1KCS8Acz3Wx+XMMLZR+9v8D4f2No\nyL6zB9Zm0iy43jB4ZXZs+IygiUNtysgSLpduJ1zRh+pfHwuZL9a+mMtivAc/\nWgkCCjBZb4SExf/3IShF9lh0Yaap/W9gj+pN3ukf6JFHEqhxwBtFfoE8HUQI\nN4MvsUNW1Q42S3YHn+eiU4z0P+apdLEfil63JNlMmlKSXHmzIxu7Jygz/yMD\nGgaDOduFOge0s9NJN6mnLQ83m2gPD7VHsOXtDziJG0AxCTbXxLDsCV/lvqK8\nbdGtBZ85k96iUVq+1kjcrjVui1zcJlFxJU8zcJICR/PVNm18HX5ltHmN5sPf\ntFtHsjN66d1W+GWY/qnRUVQpYBdFoVEUfr9Tt+rURNddZUfJURZLD9ZDk8G3\npAOBUmBhhbuK1yvYAuDNRu74zFIsDHGvP0PWIjtpFS8l5L0FNw1hJZcfHAOk\nhoHvPlo7G/OJJCLfjSkyFQFC4tTxiz74WoI+aObVjfOoMTzJ7Pn8naMuS+og\nWZSfR/6vOkWPeKVHD7HybmqeB/SmMt+4aCyg2q3EfQPKlwik4wja/IF+enyS\nGJgO8Tuz9Ga7qn3MSfGKoAPFhm7frAcPyewsAwmX4EpE2RFDnoAfttzMGF44\nM2LT\r\n=00bn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq2srYUMo1VCB9WS6UImJtl2mZpZb1EVemo7M+FJwZOgIgWt3q79PmOIAUX900XJIooF79J0DUuns50kHtZMhhTO4="}]},"maintainers":[{"name":"itbx-s","email":"it@bx-s.de"}],"_npmUser":{"name":"itbx-s","email":"it@bx-s.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plurals-cldr_1.36.0_1587638104703_0.23703247153647733"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-23T10:31:03.946Z","1.0.3":"2020-04-23T10:31:04.094Z","modified":"2022-04-04T20:18:02.932Z","1.1.0":"2020-04-23T10:31:25.064Z","1.36.0":"2020-04-23T10:35:04.891Z"},"maintainers":[{"name":"itbx-s","email":"it@bx-s.de"}],"description":"Plurals suport, generated from CLDR.","homepage":"https://github.com/nodeca/plurals-cldr#readme","keywords":["i18n","l10n","plural","plurals","pluralize","pluralizer","clrd","ldml"],"repository":{"type":"git","url":"git+https://github.com/nodeca/plurals-cldr.git"},"author":{"name":"Vitaly Puzrin","url":"https://github.com/puzrin"},"bugs":{"url":"https://github.com/nodeca/plurals-cldr/issues"},"license":"MIT","readme":"plurals-cldr - plurals support for JS\n=====================================\n\n[![Build Status](https://travis-ci.org/nodeca/plurals-cldr.svg?branch=master)](https://travis-ci.org/nodeca/plurals-cldr)\n[![NPM version](https://img.shields.io/npm/v/plurals-cldr.svg)](https://www.npmjs.org/package/plurals-cldr)\n[![Coverage Status](https://img.shields.io/coveralls/nodeca/plurals-cldr.svg)](https://coveralls.io/r/nodeca/plurals-cldr)\n\nKey benefits:\n\n- Competely automated code generation from CLDR on update.\n- Generated code automatically tested with CLDR fixtures.\n- Both `cardinal` and `ordinal` forms support.\n- Rules for all languages are stored in single file in very compact form.\n\n\n### Installation\n\n__node.js:__\n\n```bash\n$ npm install plurals-cldr\n```\n\n__browser:__\n\n```bash\n$ bower install plurals-cldr\n```\n\n### Rebuild\n\n```bash\nmake clean\nmake generate\n```\n\n### API\n\n#### .(locale, number)\n\nReturns form name for given number. Number can be passed as string to keep\ntailing decimal zeros. If locale not supported, returns `null`.\n\n\n```js\nvar plural = require('plural-cldr');\n\n// Get cardinal form name\n//\n// Params:\n//\n// - locale\n// - number (Number|String)\n//\nplural('ru', 0)   // -> 'many'\nplural('ru', 1)   // -> 'one'\nplural('ru', 2)   // -> 'few'\nplural('ru', 19)  // -> 'many'\nplural('ru', 0.5) // -> 'other'\n```\n\n\n#### .forms(locale)\n\nReturns array of available forms for specified locale. If locale not supported,\nreturns `null`.\n\n\n#### .indexOf(locale, number)\n\nReturns index of form for specified locale. That's convenient, if you wish\nto implement lookup from compact ordered list, like\n[babelfish](https://github.com/nodeca/babelfish/) does.\n\nIf locale not supported, function returns `-1`.\n\nOrder of forms is the same for all languages: `zero`, `one`, `two`, `few`,\n`many`, `other`. Remove unavailable forms, and you will get indexes of each.\n\n\n#### .ordinal(), .ordinal.forms(), ordinal.indexOf()\n\nThe same as above, but for ordinal forms.\n\n\n### References\n\n1. [CLDR downloads](http://cldr.unicode.org/index/downloads)\n2. [Latest chart](http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html)\n3. [Syntax description](http://www.unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules)\n\n\n### License\n\n[Mit](https://github.com/nodeca/plurals-cldr/blob/master/LICENSE).\n","readmeFilename":"README.md"}