@anggamanggala21/text-to-speech
@anggamanggala21/text-to-speech is a Node JS library to convert text to voice for web browser.
Installation
Use the package manager npm to install @anggamanggala21/text-to-speech.
npm i @anggamanggala21/text-to-speech
or using Yarn
yarn add @anggamanggala21/text-to-speech
Usage
import { play } from '@anggamanggala21/text-to-speech'
// play Hello world
play("Hello world")
// change language *optional (Default : 'en-ES')
play("Hello world", 'en-ES')
// change volume *optional (Range : 0.1 - 1)
play("Hello world", 'en-ES', 1)
Authors
Made with