Utilities for working with Unicode.
[!IMPORTANT] This package is still in a very early stage of development and many things are still missing. If you have any suggestions or ideas, please open an issue or a pull request.
npm install @luxass/unicode-utils
import { getDataFileComments, UNICODE_VERSIONS, UNICODE_VERSIONS_WITH_UCD } from "@luxass/unicode-utils";
console.log(UNICODE_VERSIONS); // List of Unicode Versions
console.log(UNICODE_VERSIONS_WITH_UCD); // List of Unicode Versions with UCD
const dataFileComments = getDataFileComments("UnicodeData.txt");
console.log(dataFileComments); // Comments from UnicodeData.txt
Published under MIT License.
[!NOTE] The files inside
test/fixtures/data-files
&ucd-files
is not part of the MIT license, and instead licensed under the Unicode License. The files are used for testing purposes only and are not part of the package.