Socket
Socket
Sign inDemoInstall

cldr-data-downloader-test

Package Overview
Dependencies
74
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cldr-data-downloader-test

Download tool for Unicode CLDR JSON data


Version published
Maintainers
1
Created

Readme

Source

cldr-data-downloader

A Node.js download tool for Unicode CLDR JSON data.

Usage

$ npm install cldr-data-downloader

Using the CLI:

$ ./node_modules/cldr-data-downloader/bin/download.sh \
    -i http://www.unicode.org/Public/cldr/26/json.zip \
    -o ./cldr

GET `http://www.unicode.org/Public/cldr/26/json.zip`
  [========================================] 100% 0.0s
Received 3425K total.

Unpacking it into ./cldr
Done

Windows users can use node ./bin/download.js ... instead.

Using JavaScript:

// my-downloader.js:
cldrDownloader = require("cldr-data-downloader");
cldrDownloader(
  "http://www.unicode.org/Public/cldr/26/json.zip",
  "./cldr",
  function(error) {
    if (error) {
      console.error("Whops", error.message);
      exit(1);
    }
    console.log("Done");
  }
);
$ node < my-download.js

GET `http://www.unicode.org/Public/cldr/26/json.zip`
  [========================================] 100% 0.0s
Received 3425K total.

Unpacking it into ./cldr
Done

License

MIT © Rafael Xavier de Souza

Keywords

FAQs

Last updated on 21 Oct 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc