dfw-cldr-data
v1.0.1
Published
Minimal subset of Unicode CLDR (v36) JSON data for the en and th locales, with a cldr-data compatible loader.
Readme
dfw-cldr-data
A minimal subset of Unicode CLDR JSON data, bundled
directly into the package. Only the en and th locales are included, sourced
from CLDR version 36, to keep the install small for projects that only need
those two locales.
What's included
main/en/andmain/th/—ca-gregorian,numbers,timeZoneNamessupplemental/—numberingSystems,weekData
Usage
var cldrData = require("dfw-cldr-data");
// Load a single file
var enNumbers = cldrData("main/en/numbers");
// Load several at once
var thData = cldrData.entireMainFor("th");
var supplemental = cldrData.entireSupplemental();The module API is drop-in compatible with the loader from
cldr-data.
Attribution & License
This package is dual licensed:
- Module code (
index.js) is derived fromcldr-data-npmby Rafael Xavier de Souza, licensed under the MIT license. SeeLICENSE-MIT. - CLDR JSON data (everything under
main/andsupplemental/) is redistributed from the Unicode CLDR project (v36) and is licensed under Unicode-DFS-2016. SeeLICENSE-UNICODE.
SPDX license expression: (MIT AND Unicode-DFS-2016)
This is an unofficial subset and is not affiliated with or endorsed by Unicode, Inc. or the CLDR project.
