txivh-sdk-types
v0.0.2
Published
该项目用于为 腾讯数智人SDK 生成类型带类型的函数调用。
Readme
txivh-sdk-types
该项目用于为 腾讯数智人SDK 生成类型带类型的函数调用。
This is my package description.
Usage
Install package:
# ✨ Auto-detect
npx nypm install txivh-sdk-types
# npm
npm install txivh-sdk-types
# yarn
yarn add txivh-sdk-types
# pnpm
pnpm install txivh-sdk-types
# bun
bun install txivh-sdk-types
# deno
deno install txivh-sdk-typesImport:
ESM (Node.js, Bun, Deno)
import {
init,
initAudio,
play,
stop,
on,
setVolume,
asyncInit,
} from "txivh-sdk-types/client";CommonJS (Legacy Node.js)
const {
init,
initAudio,
play,
stop,
on,
setVolume,
asyncInit,
} = require("txivh-sdk-types/client");CDN (Deno, Bun and Browsers)
import {
init,
initAudio,
play,
stop,
on,
setVolume,
asyncInit,
} from "https://esm.sh/txivh-sdk-types/client";Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable - Install dependencies using
pnpm install - Run interactive tests using
pnpm dev
License
Published under the MIT license. Made by community 💛
🤖 auto updated with automd
