browser-speak
v0.1.0
Published
Simple text-to-speech function in supported browsers
Downloads
6
Maintainers
Readme
browser-speak
Simple text-to-speech function in supported browsers
Install
$ npm install --save browser-speak
Usage
const speak = require('browser-speak');
speak('unicorns');
//=> :speaker: "unicorns"
speak('another voice', 8);
//=> :speaker: "another voice"
API
speak(msg, idx)
msg
Type: string
The message to be said.
idx
Type: integer
Default: 0
The voice index to speak with.
License
MIT © Luke Edwards