# node-icu

> Node icu package

Latest version **1.1.0** (published 2017-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-icu
pnpm add node-icu
yarn add node-icu
bun add node-icu
```

## 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 | 2017-05-16 |
| First published | 2017-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.0.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+17 in 1 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Marvin Hagemeister |
| Maintainers | marvinhagemeister |
| Keywords | icu, icu4c |

## Links

- npm: https://www.npmjs.com/package/node-icu
- Repository: https://github.com/marvinhagemeister/node-icu
- Homepage: https://github.com/marvinhagemeister/node-icu#readme
- Issues: https://github.com/marvinhagemeister/node-icu/issues
- npm.io page: https://npm.io/package/node-icu

## Dependencies (2)

- [tar](https://npm.io/package/tar.md) ^3.1.3
- [rimraf](https://npm.io/package/rimraf.md) ^2.6.1

## Recent versions

- 1.1.0 (latest) — 2017-05-16
- 1.0.1 — 2017-05-16
- 1.0.0 — 2017-05-16

## README

# Node ICU

Downloads the correct icu `.dat` file for your cpu-architecture and node
version.

## Installation

```bash
# npm
npm install node-icu

# yarn
yarn add node-icu
```

To use the icu data, start node with the `--icu-data-dir` option or set the
`NODE_ICU_DATA` environment variable.

Example:

```bash
node --icu-data-dir=node_modules/node-icu myapp.js
```

To test if everything is working, run this:

```js
// should return "enero" instead of "January"
new Intl.DateTimeFormat('es',{month:'long'}).format(new Date(9E8));
```

## License

`MIT` see [License](License.md).

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