compulim/web-speech-cognitive-services

Polyfill Web Speech API with Cognitive Services for both speech-to-text and text-to-speech service.

67
/ 100
Established

Implements a ponyfill pattern that wraps Azure Cognitive Services Speech SDK to provide W3C-compliant SpeechRecognition and SpeechSynthesis APIs without polluting the global namespace. Supports flexible credential management (subscription keys, authorization tokens, or custom hostnames) and integrates with Web Audio API for synthesis playback, requiring WebRTC for recognition on HTTPS or localhost. Available as both UMD bundle and NPM package, with optional AudioContext priming for Safari compatibility.

70 stars and 79,062 monthly downloads. Used by 1 other package. Available on npm.

Maintenance 10 / 25
Adoption 20 / 25
Maturity 18 / 25
Community 19 / 25

How are scores calculated?

Stars

70

Forks

19

Language

JavaScript

License

MIT

Last pushed

Mar 05, 2026

Monthly downloads

79,062

Commits (30d)

0

Dependencies

8

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/compulim/web-speech-cognitive-services"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.