{"name":"full-icu","version":"1.5.0","description":"install 'full-icu' data for your current node","scripts":{"lint":"standard && eslint *.js test/*.js","postinstall":"node postinstall.js","test":"tap test/*.js"},"keywords":["icu4c"],"bin":{"full-icu":"node-full-icu.js","node-full-icu-path":"node-icu-data.js"},"main":"full-icu.js","author":{"name":"Steven R. Loomis","email":"srl295@gmail.com"},"license":"Unicode-DFS-2016","repository":{"type":"git","url":"git+https://github.com/nodejs/full-icu-npm.git"},"bugs":{"url":"https://github.com/nodejs/full-icu-npm/issues"},"dependencies":{"yauzl":"^2.10.0"},"devDependencies":{"eslint":"^7.7.0","eslint-config-standard":"^16.0.3","eslint-plugin-header":"^3.0.0","eslint-plugin-import":"^2.24.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","standard":"^16.0.3","tap":"^15.0.10"},"gitHead":"e614544451f0fb2818e57fb0bacaa81288897c48","homepage":"https://github.com/nodejs/full-icu-npm#readme","_id":"full-icu@1.5.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-BxB2otKUSFyvENjbI8EtQscpiPOEnhrf5V4MVpa6PjzsrLmdKKUUhulbydsfKS4ve6cGXNVRLlrOjizby/ZfDA==","shasum":"1543dcd1821fd5bed5048351cdf683a847518317","tarball":"http://registry-npm.ywwl.com/full-icu/download/full-icu-1.5.0.tgz","fileCount":22,"unpackedSize":32940,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbEjo5E8VO50/AkXbXWeKtmBuVm2VlPRvP+hAytY11uwIhALMXRg27DkcLz2akEmFYtex+Bblr9pCC2vMMRAs/Jwz4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDjVBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqT2w/9Erw081EV83l3TkhSBIS9A+6yh1v/+O9AUDKdpGK7grfBui7s\r\nFkGgHpUJye7eJ1xYDII0q0oa/SkWew21syoNPfoFgZT6Z8vM0bNOLaiA5Enm\r\nEibnDROknmxvhGnWrxKM/BJsylGPcCnaSJyo79XcW7yJyYN2p0ICf11KbAKW\r\nsgU0OuyEdi2ONVBIbah9cBEvXvdyttQMfaozcWHuEFnUDrUa5bPqOTPiZzHa\r\n1FRn4z7YTRLzdq6sGfStLBcq3FukQJJuNN7b+HMQgUWbchrv4iu0fZrKwYZs\r\nwUmAscK3p9c4ROzdf0vVkfyJszX3xR51+W6jl/sLaOfliLwjA5lhzPG2gBzI\r\nE0zTupDlqoxx2SFxv2wWMB+kO5tewQ9xUOAf1qKPhm+7RjoY/0JY1I3+CWh0\r\nbA/vaUEOn3d7jbJR7V1mONbxuTOeomhGe17LfTS2SH7X6iulDt50wFMZQtc9\r\nSnJZbXP3k2uvjAvrfqpvxKjdWkX4mx+O1/X7cfOjScipYqqOz4ckFSBJz02x\r\nAH5cWg5fb1wCDkfICPTR2R+EyUx9fJWeupBlqrvKmDrNRvemnVIIeOnMKWdd\r\nOiSrfOV1RtOpoopJQHFEJb2mSQoqt29F99oevrZLDoAmK7163LHDTbyVe9GY\r\nNyhU6jcyrIbE9TCs5izPJSBOTUEHtTnJVr0=\r\n=LHgZ\r\n-----END PGP SIGNATURE-----\r\n","size":11510,"noattachment":false,"key":"/full-icu/-/full-icu-1.5.0.tgz"},"_npmUser":{"name":"srl295","email":"srl295@gmail.com"},"directories":{},"maintainers":[{"name":"rmg","email":"r.m.graham@gmail.com"},{"name":"srl295","email":"srl295@gmail.com"},{"name":"jcemmons","email":"emmo@us.ibm.com"},{"name":"obensource","email":"benpmichel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/full-icu_1.5.0_1661875521286_0.367116705666948"},"_hasShrinkwrap":false,"readme":"# full-icu\n\nInstall full ICU (Internationalization) data from GitHub or npm for Node.js.\n\n### What is this and why would I use it?\n\nImporting this package does not have any useful effect, see below.\n\nOriginally, Node.js did not come with information for all of the world’s languages.\nThe default build mode was “small-icu” which means English-only, saving about 50% of\nthe total Node.js download footprint.\n\nSince Node.js 13, full ICU data has been the default for Node.js.\nSo this module is only helpful for older Node.js versions, or custom\nbuilds which specify small-icu.\n\nThis module does not add any internationalization capabilities to Node.js,\nbut it can provide a convenient way of loading the data.\n\nPlease see [“providing ICU data at runtime”](https://nodejs.org/api/intl.html#providing-icu-data-at-runtime) in the Node.js docs for more information.\n\n### Am I using `small-icu`?\n\nLet's find out:\n\n```shell\n$ node -p 'process.config.variables.icu_small'\ntrue\n```\n\nIf you see `false` here, you aren't using small ICU and **this package won’t do\nanything useful for you,** although it is harmless.\n\n### To use\n\nFirst, you must have a Node.js that is configured for `small-icu`.\nSee above.\n\n`npm install full-icu`\n\nNote: Set env var `FULL_ICU_PREFER_NPM=true` to prefer using the `icu4c-data` npm module,\notherwise the default is now to load from ICU4C’s GitHub release.\n\n### To install globally\n\n`npm install -g full-icu`\n\n### After Installation\n\nInstructions will be printed out on how to activate this data for your version of node.\n\nThis work gets done in a `postinstall` script which copies the `icudt*.dat` file up to this module's level.\n\n## API\n\nNote that this is only packaging and build metadata.\nFor Internationalization API, see [Intl](https://nodejs.org/api/intl.html).\n\n`require('full-icu')` returns a few properties:\n\n* `nodever` - the full Node version (ex: `14.2.0`)\n\n* `node_maj` - the major part of the node version (ex: `14`)\n\n* `node_min` - the minor part of the node version (ex `2`)\n\n* `icu_small` - if truthy, means that node was built with\n**small-icu** (English only). If falsy, means that the `full-icu`\npackage is not relevant.\n\n* `icuver` - the full ICU version, if available, such as 55.1. Sometimes only the major version is available.\n\n* `icumaj` - ICU major ver, such as `55`. May be === `icuver`.\n\n* `icumin` - ICU minor version, such as `1` if available.\n\n* `icuend` - ICU endianness - *l*ittle, *b*ig or *e*bcdic.\n\n* `icupkg` - the `npm` package needed to get full ICU data, if any.\n\n* `icudat` - the raw data file ICU expects to find for full data, if any.\n\n* `noi18n` - if truthy, no ICU / Intl build was enabled for your node version. Sorry.\n\n* `oldNode` - The node version is older than this package can really think about.\n\n## BIN\n\n`node-full-icu-path` will print the full `icudt*.dat` path, if available.\n\n## CONTRIBUTING\n\nPlease see our [`CONTRIBUTING`](./CONTRIBUTING.md) guide if you'd like to help with this initiative!\n\n## LICENSE\n\nThis repository is subject to the terms under the [Node.js license](https://github.com/nodejs/node/blob/HEAD/LICENSE). Some usage of this data is governed by the [Unicode Terms of Use](http://www.unicode.org/copyright.html), which is included in the [unicode-license.txt](./unicode-license.txt)\n\n## COPYRIGHT\n\nCopyright &copy; 1991-2021 Unicode, Inc. and Node.js contributors. All rights reserved.\n\n[Unicode terms of use](http://www.unicode.org/copyright.html)\n","publish_time":1661875521450,"_cnpm_publish_time":1661875521450,"dist-tags":{"dev":"1.4.0-0","latest":"1.6.0"}}