@responsivevoice/core
The heart — and lungs — of ResponsiveVoice: the browser client that speaks text aloud, with a familiar API.
The text‑to‑speech toolkit
TypeScript-first, from the browser to the server.
$ npm i @responsivevoice/coreNo key needed to try. Register free to unlock every voice.
Hello. This is ResponsiveVoice, speaking right in your browser.
Quickstart
npm install @responsivevoice/coreimport { getResponsiveVoice } from '@responsivevoice/core';
const rv = await getResponsiveVoice({ apiKey: 'YOUR_API_KEY' });rv.speak('Hello, world!');<script src="https://cdn.responsivevoice.org/sdk/latest/responsivevoice.js"></script><script> responsiveVoice.init({ apiKey: 'YOUR_API_KEY' }); responsiveVoice.speak('Hello, world!');</script>npm install @responsivevoice/api-clientimport { ResponsiveVoiceAPIClient } from '@responsivevoice/api-client';
const client = new ResponsiveVoiceAPIClient({ apiKey: process.env.RESPONSIVEVOICE_API_KEY, apiSecret: process.env.RESPONSIVEVOICE_API_SECRET,});
const audio = await client.synthesize({ text: 'Hello world', voice: 'UK English Female', format: 'mp3',});Packages
The heart — and lungs — of ResponsiveVoice: the browser client that speaks text aloud, with a familiar API.
REST API client with retry logic, response validation, and beautiful error handling.
Shared schemas and types used across the entire ecosystem.
Why ResponsiveVoice
Full TypeScript support with strict types and IntelliSense.
ESM, CJS, and a browser bundle (CDN). Tree-shakeable exports.
Access to 100+ voices across 50+ languages.
Drop-in replacement for legacy responsivevoice.js.
Integrations
For LLMs and AI agents: llms.txt, llms-full.txt, or the For AI Agents guide — append .md to any docs URL.