open-index/open-npm huggingface dataset:
npm package: @i18n.t/create
Description: create i18n handler
Author: Bacra Woo
Latest version: 1.7.0

@i18n.t/create
==============

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][npm-url]
[![NPM License][license-image]][npm-url]

生成翻译函数

## Install
```
npm install @i18n.t/create --save
```

## Usage

```javascript
const { createI18N } = require('@i18n.t/create');
const i18n = createI18N(translateData);

i18n('中文');   // chinese
i18n('中文', 'short');   // zh

i18n('我是%s', ['Bacra']);    // I‘m Bacra
i18n('我是%s', ['Bacra'], { language: 'hk' });    // 我是Bacra
i18n('我是%{1} %{0}', ['woo', 'Bacra']);          // 我是Bacra woo
i18n('我是%{username} %{firstname}', { tpldata: { username: 'Bacra' firstname: 'woo' } });  // 我是Bacra woo

const username = 'Bacra';
i18n.t`我是${username}`  // I‘m Bacra
i18n.t({ language: 'hk' })`我是${username}`  // 我是Bacra

i18n('我是%s', ['Bacra'], { encode: 'url' });     // %E6%88%91%E6%98%AFBacra
i18n.t({ encode: 'url' })`我是${{ text: username, encode: false }}`;  // %E6%88%91%E6%98%AFBacra
i18n.urlEncode('我是%s', ['Bacra']);              // %E6%88%91%E6%98%AFBacra
i18n.urlEncode.t`我是${username}`;                // %E6%88%91%E6%98%AFBacra
```


[npm-image]: https://img.shields.io/npm/v/@i18n.t/create.svg
[downloads-image]: https://img.shields.io/npm/dm/@i18n.t/create.svg
[npm-url]: https://www.npmjs.org/package/@i18n.t/create
[license-image]: https://img.shields.io/npm/l/@i18n.t/create.svg
npm package: @i18n.t/extract
Description: extract ts for i18nt
Author: Bacra Woo
Latest version: 1.2.2

@i18n.t/extract
===============

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][npm-url]
[![NPM License][license-image]][npm-url]

解析 js/ts/vue 文件，将使用 `i18n` 包裹的翻译词条输出


## Install
```
npm install @i18n.t/extract --save
```

## Usage

```javascript
const { extract } = require('@i18n.t/extract');
const { list } = extract({ fileName, fileContent, i18nHandlerName });

// extract word list
```


[npm-image]: https://img.shields.io/npm/v/@i18n.t/extract.svg
[downloads-image]: https://img.shields.io/npm/dm/@i18n.t/extract.svg
[npm-url]: https://www.npmjs.org/package/@i18n.t/extract
[license-image]: https://img.shields.io/npm/l/@i18n.t/extract.svg
npm package: @i18n.t/extract-ts
Description: extract ts for i18nt
Author: Bacra Woo
Latest version: 1.0.2

@i18n.t/extract-ts
==================

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][npm-url]
[![NPM License][license-image]][npm-url]

解析 js/ts 文件，将使用 `i18n` 包裹的翻译词条输出


## Install
```
npm install @i18n.t/extract-ts --save
```

## Usage

```javascript
const { extractTs } = require('@i18n.t/extract-ts');
const { list } = extractTs({ fileName, fileContent, i18nHandlerName });

// extract word list
```


[npm-image]: https://img.shields.io/npm/v/@i18n.t/extract-ts.svg
[downloads-image]: https://img.shields.io/npm/dm/@i18n.t/extract-ts.svg
[npm-url]: https://www.npmjs.org/package/@i18n.t/extract-ts
[license-image]: https://img.shields.io/npm/l/@i18n.t/extract-ts.svg
npm package: @i18n.t/extract-vue
Description: extract vue for i18nt
Author: Bacra Woo
Latest version: 1.0.2

@i18n.t/extract-vue
===================

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][npm-url]
[![NPM License][license-image]][npm-url]

解析 vue 文件，将使用 `i18n` 包裹的翻译词条输出


## Install
```
npm install @i18n.t/extract-vue --save
```

## Usage

```javascript
const { extract } = require('@i18n.t/extract-vue');
const { list } = extract({ fileName, fileContent, i18nHandlerName });

// extract word list
```


[npm-image]: https://img.shields.io/npm/v/@i18n.t/extract-vue.svg
[downloads-image]: https://img.shields.io/npm/dm/@i18n.t/extract-vue.svg
[npm-url]: https://www.npmjs.org/package/@i18n.t/extract-vue
[license-image]: https://img.shields.io/npm/l/@i18n.t/extract-vue.svg
npm package: @i18never/cli
Description: This is a toolset for i18nerver
Author: zhangbing4
Latest version: 1.1.16

# `@i18never/tools`

> This is a toolset for i18nerver

## Install

```
npm i @i18never/tools -g

```

## Usage

```
//  Using i18never to add internationalization tags to specific directories or files.
i18never tag src
```
npm package: @i18never/tools
Description: This is a toolset for i18nerver
Author: zhangbing4
Latest version: 1.0.23

# `@i18never/tools`

> This is a toolset for i18nerver

## Install

```
npm i @i18never/tools -g

```

## Usage

```
//  Using i18never to add internationalization tags to specific directories or files.
i18never tag src
```