
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
TTS module (text to speech) for node.js on windows using Edge.js
Note: changing the voice hasn't been implemented yet (v0.0.4), hopefully someday I or someone else will find out how easy it is and implement it.
Uses Edge.js to hook into System.Speech.Synthesis with a short C# code snippet. The winsay module is inspired by say.js which currently supports Mac OS X and Linux but not Windows (at this time of writing v0.6.0).
Install using npm
,
$ npm install winsay
winsay.speak(voice, text, [callback])
or
winsay.speakSync(voice, text)
var winsay = require('winsay');
// no callback, fire and forget
winsay.speak("GLaDOS", "Hello, and welcome to the Aperture Science Enrichment Center");
// use default voice in System Preferences
winsay.speak(null, "Hello!");
// output some text to the console after the callback has completed
winsay.speak("Good News', 'You've won the internet!", function () {
console.log("text to speech complete");
});
console.log("This text is printed before you win the internet.");
// syncronous speak function also available
winsay.speakSync("Red", "A wild Pikachu appears.");
console.log("This text is printed after you encounter the wild Pikachu.");
winsay.speak()
calls are asynchronous, yay ^_^
(MIT License)
FAQs
TTS module (text to speech) for windows using Edge.js
The npm package winsay receives a total of 1 weekly downloads. As such, winsay popularity was classified as not popular.
We found that winsay demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.