1.0.1 • Published 7 years ago
tts-js v1.0.1
TTS-JS - Text to speech
Synthetize text to speech using the browser speechSynthesis
Instaling
npm i -S tts-js
Usage
// const tts = require('tts-js')
import tts from 'tts-js'
tts.speak('Hello World')
Options
// default options
tts.speak('Hello World', { lang: 'en-US', pitch: 1, rate: 1})