UNPKG

speech-recognition-aws-polyfill

Version:

Polyfill for the SpeechRecognition browser API using AWS Transcribe

8 lines (6 loc) 144 B
import { Buffer } from 'buffer' // @ts-ignore if (window && typeof window.Buffer === 'undefined') { // @ts-ignore window.Buffer = Buffer }