This request might be outside of the scope of CDNJS, but I thought it was worth a shot.
Unicode CLDR data is needed for globalization. The Globalize library uses this data in its internationalization and localization tools. Currently, to get the data, globalize uses npm to download the zip files directly from the unicode server, and then expand and save all 250+ megabytes of files locally.
The main issue is that most of the time you don't need the entire data set to get what you need. The folks at Unicode do not plan on providing the unzipped JSON data through a CDN (ref); but they do have all of the JSON files saved in their GitHub unicode-cldr organization across 30+ repositories (only 19 are necessary if you want to provide the "full" data set; which includes the "modern" packages).
So my questions are:
Library name: Unicode CLDR JSON Data
Git repository url:
CLDR-JSON has the following list of repositories that contain data which would need to be included (only showing "full" packages):
License: Unicode license
Official homepage: http://cldr.unicode.org/index
CC: @rxaviers
cc @cdnjs/team-cdnjs @terinjokes
Do we even support .json files on the cdn right now?
Every repo should have a package.json
.
@Mottie they do but the return a 403 Forbidden currently.
@drewfreyling we don't, need help from Cloudflare, since we don't run our own origin server right now.
@drewfreyling: Do we even support .json files on the cdn right now?
@PeterDaveHello: @drewfreyling we don't, need help from Cloudflare, since we don't run our own origin server right now.
Should this be a separate issue?
@pkra No.
terinjokes added Server - configuration Under Consideration labels
Thanks!
I plan on adding JSON (and source maps) to the allowed content types.
Any news on this, @terinjokes ?
Will we get that soon? The problem for us is, that the generation of MathJax's speech output is partially broken, which very much affects accessibility.
@terinjokes any news on this? It would be great to finally have json files supported no cdnjs.
@MattIPv4 would you please help contact with Cloudflare again by the support ticket to see if there is any possibility that we can have it? Thanks a lot.
@PeterDaveHello What needs to be done by them, just adding JSON files to the whitelist?
@MattIPv4 yes, you're right!
@Mottie @pkra @PeterDaveHello This has been resolved as part of #13145 and .json files are now served on the cdnjs.cloudflare.com domain 馃帀
Most helpful comment
I plan on adding JSON (and source maps) to the allowed content types.