open-index/open-npm huggingface dataset:
npm package: @litert/async-fs
Description: A promise-like asynchronous filesystem api library.
Author: Angus.Fenying
Latest version: 0.1.0

# LiteRT/async-fs

[![npm version](https://img.shields.io/npm/v/@litert/async-fs.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/async-fs "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/async-fs.svg?maxAge=2592000?style=plastic)](https://github.com/litert/async-fs/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/async-fs.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/async-fs.js.svg)](https://github.com/litert/async-fs.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/async-fs.js.svg)](https://github.com/litert/async-fs.js/releases "Stable Release")

A promise-like asynchronous filesystem api library.

## Requirement

- TypeScript v2.8.1 (or newer)
- Node.js v8.0.0 (or newer)

## Installation

```sh
npm i @litert/async-fs --save
```

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/base32
Description: The encoding and decoding library for BASE32, in JavaScript/TypeScript/WebAssembly.
Author: Angus.Fenying
Latest version: 1.0.1

# LiteRT/BASE32

[![npm version](https://img.shields.io/npm/v/@litert/base32.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/base32 "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/base32.svg?maxAge=2592000?style=plastic)](https://github.com/litert/base32/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/base32.js.svg)](https://github.com/litert/base32.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/base32.js.svg)](https://github.com/litert/base32.js/releases "Stable Release")

The encoding and decoding library for BASE32, in Node.js.

> WebAssembly implementation included, which could be also used in the browser.

## Installation

```sh
npm i @litert/base32 --save
```

## Quick Start

Use the library in Node.js like this:

> The default export is the WebAssembly implementation.

```ts
import * as Base32 from "@litert/base32";

const b32 = Base32.stringToBase32('Hello, 世界!');

console.log('Base32 Encoded:', b32);

const decoded = Base32.stringFromBase32(b32);

console.log('Base32 Decoded:', decoded);
```

## Documents

- [en-us](https://litert.org/projects/base32.js/)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/base62x
Description: The encoding and decoding library for BASE62x, in JavaScript/TypeScript/WebAssembly.
Author: Angus.Fenying
Latest version: 1.0.1

# LiteRT/BASE62x

[![npm version](https://img.shields.io/npm/v/@litert/base62x.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/base62x "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/base62x.svg?maxAge=2592000?style=plastic)](https://github.com/litert/base62x/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/base62x.js.svg)](https://github.com/litert/base62x.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/base62x.js.svg)](https://github.com/litert/base62x.js/releases "Stable Release")

The encoding and decoding library for [BASE62x](https://ieeexplore.ieee.org/document/6020065?arnumber=6020065), in Node.js.

> WebAssembly implementation included, which could be also used in the browser.

## Installation

```sh
npm i @litert/base62x --save
```

## Quick Start

Use the library in Node.js like this:

> The default export is the WebAssembly implementation.

```ts
import * as Base62x from "@litert/base62x";

const b62x = Base62x.stringToBase62x('Hello, 世界!');

console.log('Base62x Encoded:', b62x);

const decoded = Base62x.stringFromBase62x(b62x);

console.log('Base62x Decoded:', decoded);
```

## Documents

- [en-us](https://litert.org/projects/base62x.js/)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/bencode
Description: A bencode decode/encode library based on Node.js.
Author: Angus.Fenying
Latest version: 0.2.0

# LiteRT/Bencode

[![npm version](https://img.shields.io/npm/v/@litert/bencode.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/bencode "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/bencode.svg?maxAge=2592000?style=plastic)](https://github.com/litert/bencode/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/bencode.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/bencode.js.svg)](https://github.com/litert/bencode.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/bencode.js.svg)](https://github.com/litert/bencode.js/releases "Stable Release")

A bencode decode/encode library based on Node.js.

## Requirement

- TypeScript v3.1.x (or newer)
- Node.js v8.0.0 (or newer)

## Installation

```sh
npm i @litert/bencode --save
```

## Usage

Encoding:

```ts
import * as libBencode from "@litert/bencode";

const enc = new libBEncode.BencodeEncoder();

const beData = enc.encode({ // Encode data into BEncode.
    "name": "Angus",
    "age": 18,
    "friends": [
        "Edith",
        "Alex"
    ],
    "scores": {
        "math": 87
    },
    "randomBytes": Buffer.from('vsm/GvyGjZqUeuPa7ZP8h9ot8VRCe/6arpboI46EIlg=', 'base64')
});

/**
 * Don't print as a UTF-8 string, because it's binary.
 */
console.log(beData);
```

Decoding:

```ts
import * as libBencode from "@litert/bencode";

const dec = new LibBencode.BencodeDecoder();

const beData = dec.decode('d4:name5:Angus7:friendsld4:name5:Editheee');

console.log(beData); // Output: { name: 'Angus', friends: [ { name: 'Edith' } ] }
```

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/binary
Description: The binary data operate library for LiteRT.
Author: Angus.Fenying
Latest version: 0.3.1

# LiteRT/Binary

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/binary.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/binary "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/binary.svg?maxAge=2592000?style=plastic)](https://github.com/litert/binary.js/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/binary.js.svg)](https://github.com/litert/binary.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/binary.js.svg)](https://github.com/litert/binary.js/releases "Stable Release")

The binary data operate library for LiteRT.

This library currently provides following components:

- [`BufferReader`](./src/examples/demo.BufferReader.ts): A helper of `Buffer` that controls the reading position automatically.
- [`BufferWriter`](./src/examples/demo.BufferWriter.ts): A helper of `Buffer` that controls the writing position automatically.
- [`AlignedBufferReader`](./src/examples/demo.AlignedBufferReader.ts): An implement of `BufferReader` with C-struct-like alignment supports.
- [`AlignedBufferWriter`](./src/examples/demo.AlignedBufferWriter.ts): An implement of `BufferWriter` with C-struct-like alignment supports.

- `SyncFileReader`: A helper of `File` that controls the reading position automatically, using synchronous IO.
- `SyncFileBufferReader`: A helper of `File` that controls the reading position automatically, using buffer to reduce the synchronous IO.
- `AsyncFileReader`: A helper of `File` that controls the reading position automatically, using asynchronous IO.
- `AsyncFileBufferReader`: A helper of `File` that controls the reading position automatically, using buffer to reduce the asynchronous IO.

- `SyncFileWriter`: A helper of `File` that controls the writing position automatically, using synchronous IO.
- `SyncFileBufferWriter`: A helper of `File` that controls the writing position automatically, using buffer to reduce the synchronous IO.
- `AsyncFileWriter`: A helper of `File` that controls the writing position automatically, using asynchronous IO.
- `AsyncFileBufferWriter`: A helper of `File` that controls the writing position automatically, using buffer to reduce the asynchronous IO.

## Installation

```sh
npm install @litert/binary --save
```

## Requirements

- Node.js v14.x (Or newer)
- TypeScript v4.1.x (Or newer)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/clap
Description: A simple library for parsing command-line arguments.
Author: Angus.Fenying
Latest version: 3.0.0

# LiteRT/Clap.js

[![npm version](https://img.shields.io/npm/v/@litert/clap.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/clap)
[![License](https://img.shields.io/npm/l/@litert/clap.svg?maxAge=2592000?style=plastic)](https://github.com/litert/clap/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/clap.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/clap.js.svg)](https://github.com/litert/clap.js/issues)

A simple library for parsing commandline arguments.

## Installation

```sh
npm i @litert/clap --save
```

## Documents

Preparing yet.

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/cli-color
Description: The library helps making colorful or styling text for CLI.
Author: Angus.Fenying
Latest version: 0.1.0

# LiteRT/CLI-Color

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/cli-color.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/cli-color "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/cli-color.svg?maxAge=2592000?style=plastic)](https://github.com/litert/cli-color.js/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/cli-color.js.svg)](https://github.com/litert/cli-color.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/cli-color.js.svg)](https://github.com/litert/cli-color.js/releases "Stable Release")

The library helps making colorful or styling text for CLI.

## Usage

See [examples](./src/examples/).

## Installation

```sh
npm install @litert/cli-color --save
```

## Requirements

- Node.js v14.x (Or newer)
- TypeScript v4.1.x (Or newer)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/clifx
Description: Toolset for CLI application.
Author: Angus.Fenying
Latest version: 0.1.2

# LiteRT/CliFx

[![npm version](https://img.shields.io/npm/v/@litert/type-uard.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/clifx "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/clifx.svg?maxAge=2592000?style=plastic)](https://github.com/litert/clifx/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/clifx.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/clifx.svg)](https://github.com/litert/clifx/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/clifx.svg)](https://github.com/litert/clifx/releases "Stable Release")

Toolset for CLI application.

## Requirement

- TypeScript v2.7.1 (or newer)
- Node.js v8.0.0 (or newer)

## Installation

Install by NPM:

```sh
npm i @litert/clifx --save
```

## Document

- [简体中文版](./docs/zh-CN/index.md)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/config-loader
Description: A configuration file loader for JavaScript application.
Author: Angus.Fenying
Latest version: 1.3.0

# LiteRT/ConfigLoader

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/config-loader.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/config-loader "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/config-loader.svg?maxAge=2592000?style=plastic)](https://github.com/litert/config-loader/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/config-loader.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/config-loader.js.svg)](https://github.com/litert/config-loader.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/config-loader.js.svg)](https://github.com/litert/config-loader.js/releases "Stable Release")

A configuration file loader for JavaScript application.

## Requirement

- TypeScript v5.0.0 (or newer)
- Node.js v18.0.0 (or newer)

## Installation

```sh
npm i @litert/config-loader --save
```

## Documentation

- [en-US](https://litert.org/projects/config-loader.js/)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/core
Description: The core of LiteRT.
Author: Angus.Fenying
Latest version: 1.1.1
Deprecated: No maintenance anymore, do not use it

# LiteRT/Core

[![npm version](https://img.shields.io/npm/v/@litert/core.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/core "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/core.svg?maxAge=2592000?style=plastic)](https://github.com/litert/core/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/core.js.svg)](https://github.com/litert/core.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/core.js.svg)](https://github.com/litert/core.js/releases "Stable Release")

The core of LiteRT.

## Installation

```sh
npm install @litert/core --save
```

## Requirements

- Node.js v8.x (Or newer)
- TypeScript v3.1.x (Or newer)

## Documents

- [简体中文版](./docs/zh-CN/README.md)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/crypto
Description: A simple crypto API library for LiteRT.
Author: Angus.Fenying
Latest version: 0.1.0

# LiteRT/Crypto

[![npm version](https://img.shields.io/npm/v/@litert/crypto.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/crypto "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/crypto.svg?maxAge=2592000?style=plastic)](https://github.com/litert/crypto/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/crypto.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/crypto.js.svg)](https://github.com/litert/crypto.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/crypto.js.svg)](https://github.com/litert/crypto.js/releases "Stable Release")

A simple crypto API library for LiteRT.

## Requirement

- TypeScript v3.1.x (or newer)
- Node.js v8.0.0 (or newer)

## Installation

```sh
npm i @litert/crypto --save
```

## Usage

See [examples](./src/examples/).

## Document

Preparing yet.

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/csv
Description: The csv file operate library for LiteRT.
Author: Angus.Fenying
Latest version: 0.1.0

# LiteRT/CSV

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/csv.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/csv "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/csv.svg?maxAge=2592000?style=plastic)](https://github.com/litert/csv.js/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/csv.js.svg)](https://github.com/litert/csv.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/csv.js.svg)](https://github.com/litert/csv.js/releases "Stable Release")

The csv file operate library for LiteRT.

## Features

- [x] CSV Writer
- [ ] CSV Reader

## Installation

```sh
npm install @litert/csv --save
```

## Requirements

- Node.js v14.x (Or newer)
- TypeScript v4.1.x (Or newer)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/databar
Description: A simple database connection provider.
Author: Angus.Fenying
Latest version: 0.1.1

# LiteRT/DataBar

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/databar.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/databar "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/databar.svg?maxAge=2592000?style=plastic)](https://github.com/litert/databar/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/databar.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/databar.js.svg)](https://github.com/litert/databar.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/databar.js.svg)](https://github.com/litert/databar.js/releases "Stable Release")

A simple database connection provider.

## Requirement

- TypeScript v3.3.x (or newer)
- ECMAScript 2017 (or newer)

## Installation

Install by NPM:

```sh
npm i @litert/databar --save
```

## Document

Preparing yet.

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/decorator
Description: The utility set of decorators.
Author: Angus.Fenying
Latest version: 0.2.2

# LiteRT/Decorator

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/decorator.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/decorator "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/decorator.svg?maxAge=2592000?style=plastic)](https://github.com/litert/decorator.js/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/decorator.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/decorator.js.svg)](https://github.com/litert/decorator.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/decorator.js.svg)](https://github.com/litert/decorator.js/releases "Stable Release")

The utility set of decorators.

## Requirement

- TypeScript v4.3.x (or newer)
- ECMAScript 2017 (or newer)

## Installation

Install by NPM:

```sh
npm i @litert/decorator --save
```

## Document

- [简体中文版](./docs/zh-CN/README.md)

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/events
Description: An events controller library for LiteRT.
Author: Angus.Fenying
Latest version: 0.2.0
Deprecated: Migrate to @litert/observable.

# LiteRT/Events

[![npm version](https://img.shields.io/npm/v/@litert/events.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/events "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/events.svg?maxAge=2592000?style=plastic)](https://github.com/litert/events/blob/master/LICENSE)
[![node](https://img.shields.io/node/v/@litert/events.svg?colorB=brightgreen)](https://nodejs.org/dist/latest-v8.x/)
[![GitHub issues](https://img.shields.io/github/issues/litert/events.js.svg)](https://github.com/litert/events.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/events.js.svg)](https://github.com/litert/events.js/releases "Stable Release")

An events controller library for LiteRT.

## Requirement

- TypeScript v3.1.x (or newer)
- Node.js v8.0.0 (or newer)

## Installation

```sh
npm i @litert/events --save
```

## Document

Preparing yet.

## License

This library is published under [Apache-2.0](./LICENSE) license.
npm package: @litert/exception
Description: The exceptions implement of LiteRT.
Author: Angus.Fenying
Latest version: 1.2.0
Deprecated: No maintenance anymore, do not use it

# LiteRT/Exception

[![Strict TypeScript Checked](https://badgen.net/badge/TS/Strict "Strict TypeScript Checked")](https://www.typescriptlang.org)
[![npm version](https://img.shields.io/npm/v/@litert/exception.svg?colorB=brightgreen)](https://www.npmjs.com/package/@litert/exception "Stable Version")
[![License](https://img.shields.io/npm/l/@litert/exception.svg?maxAge=2592000?style=plastic)](https://github.com/litert/exception/blob/master/LICENSE)
[![GitHub issues](https://img.shields.io/github/issues/litert/exception.js.svg)](https://github.com/litert/exception.js/issues)
[![GitHub Releases](https://img.shields.io/github/release/litert/exception.js.svg)](https://github.com/litert/exception.js/releases "Stable Release")

The exceptions implement of LiteRT.

## Installation

```sh
npm install @litert/exception --save
```

## Requirements

- Node.js v8.x (Or newer)
- TypeScript v3.1.x (Or newer)

## License

This library is published under [Apache-2.0](./LICENSE) license.