README
Speaker
A text2speech implementation for HTML documents.
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';
Development
Requirements
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.
License
Speaker is released under the MIT license.