basic-tts

1.0.12 • Public • Published

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.

Package Sidebar

Install

npm i basic-tts

Weekly Downloads

6

Version

1.0.12

License

MIT

Unpacked Size

13.4 kB

Total Files

5

Last publish

Collaborators

  • gfyoung