1.0.1 • Published 2 years ago
tts-play v1.0.1
tts-play
text-to-speech and play sound locally.
Intsall
$ yarn add tts-playHow To Use
import {play} from 'tss-play'
async function main(): Promise<void> {
await play('hello world')
}
main()
.then(() => console.log('Finished.'))
.catch(console.error)Credit
this package is just a simple wrapper to google-tts-api and sound-play, these are good package!