Basic wrapper around browser TTS functionality


Keywords
brower speech synthesis, browser text to speech, browser speech api, speech synthesis, web speech api, text to speech, wrapper, speech, speak, tts, browser, speech-api, speech-synthesis, speech-to-text, web-api
License
MIT
Install
npm install basic-tts@1.0.12

Documentation

Build Status

basic-tts

Basic wrapper around the Speech Synthesis API.

This is a bare-bones wrapper with no dependencies besides a browser that supports text-to-speech. Installation is relatively straightforward via NPM Package Registry:

npm install basic-tts

Alternatively, you can use GitHub's Package Registry.

Afterwards, you can check the support of your browser in Node, for example, as follows:

const tts = require("basic-tts");
console.log(tts.isSupported());

The repository also contains a demo HTML file (demo.html) where you can also see whether your browser supports text-to-speech. If it does, you can then see the package in action.