text-to-speech-offline
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,6 +11,7 @@ const TTS = (text, lang = 'id-ID', volume = 1, rate = 1, pitch = 1) => { | ||
synthesis.cancel() | ||
synthesis.speak(utterance) | ||
return synthesis.speak(utterance) | ||
} | ||
export default TTS | ||
module.exports = TTS |
{ | ||
"name": "text-to-speech-offline", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simple Text to Speech Offline Using API Browser", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -41,3 +41,3 @@ # text-to-speech-offline | ||
<button onClick={TTS("Apa kabar?")}> Speak </button> | ||
<button onClick={() => TTS("Apa kabar?")}> Speak </button> | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3192