Skip to content

gfyoung/basic-tts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5991c89 · Sep 11, 2021

History

66 Commits
Sep 11, 2021
Dec 22, 2018
Nov 30, 2018
Dec 22, 2018
Nov 25, 2019
Jan 24, 2021
Sep 11, 2021
Dec 22, 2018
Jul 17, 2021
Sep 11, 2021
Sep 11, 2021
Sep 11, 2021
Dec 22, 2018

Repository files navigation

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.