js-tts-wrapper
Version:
A JavaScript/TypeScript library that provides a unified API for working with multiple cloud-based Text-to-Speech (TTS) services
23 lines (22 loc) • 1.12 kB
TypeScript
/**
* Browser-compatible entry point for js-tts-wrapper
*
* This file exports only the components that work in browser environments.
*/
export { AbstractTTSClient } from "./core/abstract-tts.js";
export { SSMLBuilder } from "./ssml/builder.js";
export { SpeechMarkdownConverter } from "./markdown/converter.js";
export { AzureTTSClient } from "./engines/azure.js";
export { ElevenLabsTTSClient } from "./engines/elevenlabs.js";
export { GoogleTTSClient } from "./engines/google.js";
export { OpenAITTSClient } from "./engines/openai.js";
export { PlayHTTTSClient } from "./engines/playht.js";
export { PollyTTSClient } from "./engines/polly.js";
export { WatsonTTSClient } from "./engines/watson.js";
export { WitAITTSClient } from "./engines/witai.js";
export { SherpaOnnxWasmTTSClient } from "./engines/sherpaonnx-wasm.js";
export { EspeakBrowserTTSClient } from "./engines/espeak-wasm.js";
export { createBrowserTTSClient } from "./factory-browser.js";
export { estimateWordBoundaries } from "./utils/word-timing-estimator.js";
export { isBrowser, isNode } from "./utils/environment.js";
export * from "./types.js";