# speech-to-text-stream

> Record and recognize, and stream speech transcripts through the WebSpeech API.

Latest version **1.0.1** (published 2018-04-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install speech-to-text-stream
pnpm add speech-to-text-stream
yarn add speech-to-text-stream
bun add speech-to-text-stream
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-04-30 |
| First published | 2018-04-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Thomas Mullen |
| Maintainers | rationalcoding |

## Links

- npm: https://www.npmjs.com/package/speech-to-text-stream
- npm.io page: https://npm.io/package/speech-to-text-stream

## Recent versions

- 1.0.1 (latest) — 2018-04-30
- 1.0.0 — 2018-04-30

## README

# speech-to-stext-stream

[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

Simple text-stream wrapper around the WebSpeech API for Google Chrome.

## Usage

```javascript
var recognizer = new SpeechToTextStream()

button.onclick = function () { 
  recognizer.start() // Can only be started by user interaction
}

recognizer.on('data', function (token) {
  // token is one spoken word
})

recognizer.on('speechstart', function (token) {
  // speech has been recognized
})

recognizer.on('speechend', function (token) {
  // speech has stopped or paused
})
```

---
_Source: https://npm.io/package/speech-to-text-stream · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
