1.0.1 • Published 5 years ago

google-tts-cn v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

google-tts

Google TTS (Text-To-Speech) for node.js

Installation

$ npm install google-tts-cn --save

Change Log

Please see CHANGELOG.

Usage

const tts = require('google-tts-cn')
const url = await tts('Hello World', 'en', 1) // speed normal = 1 (default), slow = 0.24
// url: The audio url

Limitation

Google Text-To-Speech API (for free) can not deal with texts which are over than 200 characters.

Language Support

You can find suitable languageCode from Google Document.

License

MIT