🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

browser-speak

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-speak

Simple text-to-speech function in supported browsers

0.1.0
latest
Source
npm
Version published
Weekly downloads
4
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

browser

FAQs

Package last updated on 26 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts