ICU4C Data Packager for Node
See nodejs/full-icu-npm#36 — no updates are planned for ICU 65 and following, for little endian intel.
This is the data package builder for the full-icu package. See that if you just want to install ICU data.
To use, first get the data file, such as icudt58l.dat
from an ICU build or from the official ICU source tarball (.tgz/.zip)
You may be able to use the following script to do so if bash
is available:
bash fetchdata.sh 58.2
Then, publish the little-endian file
npm run gen -- icudt58l.dat
This will output a line labelled "run this command". (starting with rm …
) Run that command after each npm run gen
.
Now publish the big endian file.
npm run gen -- icudt58b.dat
# (remember to run the commands instructed)
- Usage of data and software is governed by the Unicode Terms of Use a copy of which is included as LICENSE
Copyright © 1991-2021 Unicode, Inc. All rights reserved. Terms of use