0.1.0 • Published 8 years ago

browser-speak v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

browser-speak Build Status

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