aiava-text-to-speech
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

text-to-speech

Turn your strings into voice.

Note: A user interaction must be made on the webpage for the speech synthesis to work. That means the must trigger an event on the web page, e.g. a click event.

Table of Contents

// Imports
import TextToSpeech from "aiava-text-to-speech";

// Create a new speaker.
const speaker = new TextToSpeech();

// Add something to the utterance queue.
speaker.say("Hello World!");

// Or use a different language.
speaker.language = "nb-NO";
speaker.say("Hei Verden!"); // Hello World

Installation

yarn add aiava-text-to-speech

Or with NPM

npm i -S aiava-text-to-speech

Documentation

All the documentation is located on the Text To Speech documentation site.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.40latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.40
1.1.40
1.0.40
1.0.31
1.0.20
1.0.10
1.0.01

Package Sidebar

Install

npm i aiava-text-to-speech

Weekly Downloads

2

Version

1.2.4

License

MIT

Unpacked Size

8.35 kB

Total Files

8

Last publish

Collaborators

  • ihack2712