rxjs-stt
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

RxJS wrapper for speech recognition Web API

npm i rxjs-tts

Try it online: https://stackblitz.com/edit/rxjs-stt?file=index.ts

About

This is a RxJS wrapper around browser native SpeechRecognition.

Usage

import { listen } from 'rxjs-stt';
 
listen({ lang: 'en' }).subscribe(e => {
    if (e.type == 'result') {
        console.log(e.results[0][0].transcript);
    }
});

Package Sidebar

Install

npm i rxjs-stt

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

29.5 kB

Total Files

20

Last publish

Collaborators

  • kosich