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

speech-to-text

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speech-to-text - npm Package Compare versions

Comparing version

to
0.3.6

2

package.json
{
"name": "speech-to-text",
"version": "0.3.5",
"version": "0.3.6",
"description": "A speech to text module.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -1,5 +0,7 @@

# speech-recognition
# Speech To Text
Speech to text module.
A speech recognition module.
It's designed to listen continuously to a user (i.e. pauses are ok), and then converting the speech to text.
## Install

@@ -33,2 +35,10 @@

The constructor will throw an error if speech recognition is not supported by the browser.
````
// Check to see if this browser supports speech recognition
if (!('webkitSpeechRecognition' in window)) {
throw new Error("This browser doesn't support speech recognition. Try Google Chrome.");
}
````
### startListening

@@ -35,0 +45,0 @@