# lite-cc-lang

> ```typescript const langAccessor: LangAccessorBase;

Latest version **11.5.1** (published 2023-11-07) · GPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install lite-cc-lang
pnpm add lite-cc-lang
yarn add lite-cc-lang
bun add lite-cc-lang
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 11.5.1 |
| Published | 2023-11-07 |
| First published | 2023-11-07 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 39.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ahl5esoft |
| Maintainers | ahl5esoft |
| Keywords | cc, lang, ts |

## Links

- npm: https://www.npmjs.com/package/lite-cc-lang
- npm.io page: https://npm.io/package/lite-cc-lang

## Alternatives

- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads
- [@1selfworld/adchain-sdk-react-native](https://npm.io/package/@1selfworld/adchain-sdk-react-native.md) — 80 weekly downloads

## Recent versions

- 11.5.1 (latest) — 2023-11-07
- 11.4.1 — 2023-11-07

## README

# ![Version](https://img.shields.io/badge/version-11.5.1-green.svg)

## 代码

### LangAccessorBase - 多语言读取器

```typescript
const langAccessor: LangAccessorBase;

// 获取当前语言缩写
const res = langAccessor.langAbbr;

// 当参数为多个时 多语言键1的文本包含{0}...{n}
const res = await langAccessor.get('多语言键1', ..., '多语言键n');

// 多语言数据内是否包含该键
const res = await langAccessor.has('多语言键');
```

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