open-index/open-npm huggingface dataset:
npm package: @ionia/capacitor-engine-x5
Description: 基于腾讯X5引擎的 Capacitor 2.x
Author: RoyLin
Latest version: 2.4.9

# 基于腾讯 X5 引擎的 Capacitor 2.x

## 使用方法

安装依赖

```bash
$ yarn add @ionia/capacitor-engine-x5
```

安装完成后将项目中的 node_modules/@ionia/capacitor-engine-x5 重命名为 android

替换 node_modules/@capacitor/android

可通过以下 shell 命令完成此步骤:

```shell
rm -rf ./node_modules/@capacitor/android
cp -rvf ./node_modules/@ionia/capacitor-engine-x5 ./node_modules/@capacitor/android
```
npm package: @ionia/http
Description: Http module for Nest framework (node.js) 🗂
Author: RoyLin
Latest version: 0.0.3

# 字节小程序 Node.js SDK

## 安装

```shell
yarn add @ionia/tt

# or

npm install @ionia/tt
```

## 使用

```ts
import { TikTok } from "@ionia/tt";

async function main() {
  const tt = new TikTok("Your AppId", "Your AppSecret");
  await tt.getAccessToken();
}

main();
```

[更多用法](./docs/modules.md)
npm package: @ionia/tiktok
Description: Tiktok module for Nest framework (node.js) 🗂
Author: RoyLin
Latest version: 0.0.9

# Tiktok module for Nest framework (node.js) 🗂

## Installation

To begin using it, we first install the required dependency.

```shell
yarn add @ionia/tiktok

# or

npm install @ionia/tiktok
```

## Getting started

Once the installation process is complete, to use the `TikTokService`, first import `TikTokModule`.

```ts
import { TikTokModule } from "@ionia/tiktok";

@Module({
  imports: [
    TikTokModule.register({
      appId: "Your AppId",
      appSecret: "Your AppSecret",
    }),
  ],
  providers: [MemberService],
})
export class MemberModule {}
```

Next, inject `TikTokService` using normal constructor injection.

```ts
@Injectable()
export class MemberService {
  constructor(private tikTokService: TikTokService) {}

  async login(@Body() dto: Code2SessionRequest): Promise<Code2SessionResult> {
    return await this.tikTokService.code2Session(dto);
  }
}
```
npm package: @ionia/tt
Description: 字节小程序 Node.js SDK
Author: RoyLin
Latest version: 0.0.9

# 字节小程序 Node.js SDK

## 安装

```shell
yarn add @ionia/tt

# or

npm install @ionia/tt
```

## 使用

```ts
import { TikTok } from "@ionia/tt";

async function main() {
  const tt = new TikTok("Your AppId", "Your AppSecret");
  await tt.getAccessToken();
}

main();
```

[更多用法](./docs/modules.md)