tts-js

1.0.1 • Public • Published

TTS-JS - Text to speech

Synthetize text to speech using the browser speechSynthesis

Standard - JavaScript Style Guide

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})

Package Sidebar

Install

npm i tts-js

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • leonardokl