An ICU4C Data Packager for Node.js
Note: This module may become obsolete, please refer to this issue accordingly. No updates have been planned for ICU 65 and above, in regards to little endian Intel systems.
This is the data package builder for the full-icu module. Please refer to full-icu if you only want to install ICU data.
To use this module: first acquire the data file, such as icudt58l.dat
from an ICU build, or from the official ICU source tarball (.tgz/.zip).
- You can use the following script to do so in
bash
:
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 time you execute npm run gen
.
- Now publish the big endian file.
npm run gen -- icudt58b.dat
Remember to run the commands as instructed in section 2.
This repository is subject to the terms under the Node.js license. Some usage of this data is governed by the Unicode Terms of Use, which is included in the unicode-license.txt
Copyright © 1991-2021 Unicode, Inc. and Node.js contributors. All rights reserved.