# lcids

> TypeScript CultureInfo and LCIDs

Latest version **1.0.4** (published 2018-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install lcids
pnpm add lcids
yarn add lcids
bun add lcids
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-07-02 |
| First published | 2018-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 136.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tomasz Wojtasik |
| Maintainers | tomaszoida |
| Keywords | lcid, cultureinfo, language, mapping |

## Links

- npm: https://www.npmjs.com/package/lcids
- Repository: https://github.com/tomaszoida/lcids
- Homepage: https://github.com/tomaszoida/lcids#readme
- Issues: https://github.com/tomaszoida/lcids/issues
- npm.io page: https://npm.io/package/lcids

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2018-07-02
- 1.0.3 — 2018-06-07
- 1.0.2 — 2018-06-06
- 1.0.1 — 2018-06-06
- 1.0.0 — 2018-06-05
- 0.0.1 — 2018-06-05

## README

# LCIDs
TypeScript representation of Windows Language Code Identifiers (LCID) and CultureInfo
## Description: 
The package gives you TypeScript/JS representation of over 200 .NET SpecificCultures

//PowerShell [CultureInfo]::GetCultures([System.Globalization.CultureTypes]::SpecificCultures) | select LCID,Name,DisplayName,NativeName | ConvertTo-Json | Out-File -FilePath CultureInfos.js

## Installation: 
npm i lcids

## Usage: 
Use lcids object to get an array of objects mapping LCID to culture name, one of these objects below
    
```
import { lcids } from 'lcids';
lcids
// ...
//{
//    "LCID":  1033,
//    "Name":  "en-US",
//    "DisplayName":  "English (United States)",
//    "NativeName":  "English (United States)"
//},
// ...
```


Use CultureInfo class to create culture info object by name or LCID based on the above array.

```
import { CultureInfo } from 'lcids';
new CultureInfo({ name: "en-US" })
new CultureInfo({ lcid: 1033 })
```

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