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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i browser-speak

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • lukeed