basic-tts
v1.0.12
Published
Basic wrapper around browser TTS functionality
Downloads
37
Maintainers
Readme
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.