xfyun-client
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

Xfyun Client

NPM License

Install

npm install xfyun-client

Install peer dependencies

npm install rxjs@7

Usage

import { IseConnection } from 'xfyun-client';

const connection = new IseConnection({
	language: 'en_vip',
	group: 'adult',
	category: 'read_sentence',
	text: '',
	appId: '',
	wsUrl: '',
});

await connection.connect();
await connection.sendAudioBuffer(data);
await connection.complete();

const response = connection.getResponse();

Readme

Keywords

none

Package Sidebar

Install

npm i xfyun-client

Weekly Downloads

1

Version

1.3.1

License

MIT

Unpacked Size

105 kB

Total Files

161

Last publish

Collaborators

  • arumi-s