A simple script to convert text to speech.
Installations:
- readline-sync
npm install readline-sync - gtts
npm install gtts
To run the script, run this command in the terminal:
$ node "path_of_the_file"
For example:
$ node "c:\Users\Sapna\Desktop\hacking-tools-scripts\JavaScript\Text_to_Speech_CLI\script.js"
Now when you run the script you will get a voice.mp3 file in your folder.
