browser-speak

0.1.0 • Public • Published

browser-speak Build Status

Simple text-to-speech function in supported browsers


:warning: Experimental Technology :warning:

Very limited browser support. Please check the compatability table for info.

---

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i browser-speak

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • lukeed