# cldr-data-downloader

> Download tool for Unicode CLDR JSON data

Latest version **1.1.0** (published 2024-07-22) · 0 weekly downloads

## Install

```sh
npm install cldr-data-downloader
pnpm add cldr-data-downloader
yarn add cldr-data-downloader
bun add cldr-data-downloader
```

Provides the command `cldr-data-downloader`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2024-07-22 |
| First published | 2014-09-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 23.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | Rafael Xavier de Souza |
| Maintainers | rxaviers |
| Keywords | unicode, CLDR, JSON, data, install, download, fetch |

## Links

- npm: https://www.npmjs.com/package/cldr-data-downloader
- Repository: https://github.com/rxaviers/cldr-data-downloader
- Issues: https://github.com/rxaviers/cldr-data-downloader/issues
- npm.io page: https://npm.io/package/cldr-data-downloader

## Dependencies (5)

- [q](https://npm.io/package/q.md) 1.0.1
- [nopt](https://npm.io/package/nopt.md) 3.0.x
- [axios](https://npm.io/package/axios.md) ^1.7.2
- [yauzl](https://npm.io/package/yauzl.md) ^2.10.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^1.0.4

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.1.0 (latest) — 2024-07-22
- 1.0.1 — 2022-04-12
- 1.0.0 — 2022-03-30
- 1.0.0-1 — 2022-03-30
- 1.0.0-0 — 2022-03-08
- 0.3.5 — 2018-11-06
- 0.3.4 — 2018-06-29
- 0.3.3 — 2018-06-08
- 0.3.2 — 2017-06-21
- 0.3.1 — 2017-05-31
- 0.3.0 — 2017-03-21
- 0.2.5 — 2016-08-02
- 0.2.4 — 2016-04-27
- 0.2.3 — 2015-06-18
- 0.2.2 — 2015-03-24
- … 15 more at https://npm.io/package/cldr-data-downloader/versions

## README

# cldr-data-downloader

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

[Unicode CLDR JSON]: http://cldr.unicode.org/index/cldr-spec/json

## 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:

```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](http://rafael.xavier.blog.br)

---
_Source: https://npm.io/package/cldr-data-downloader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
