A text2speech implementation for HTML documents.

Usage no npm install needed!

<script type="module">
  import chialabSpeaker from 'https://cdn.skypack.dev/@chialab/speaker';



A text2speech implementation for HTML documents.

NPM License

Get the library

Usage via unpkg.com, as UMD package:

<script src="https://unpkg.com/@chialab/speaker" type="text/javascript"></script>

or as ES6 module:

import { Speaker } from 'https://unpkg.com/@chialab/speaker?module';

Install via NPM:

$ npm i @chialab/speaker # NPM
$ yarn add @chialab/speaker # Yarn
import { Speaker } from '@chialab/speaker';



In order to build and test Synapse, the following requirements are needed:

Build the project

Install the dependencies and run the build script:

$ yarn install
$ yarn build

This will generate the UMD and ESM bundles in the dist folder and declaration files in the types folder.


Speaker is released under the MIT license.