node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

say-promise

say-promise

Promise version of say

Install

$ npm install --save say-promise

Usage

const sayp = require('say-promise');
 
// Simple usage 
sayp.speak("Some text to speech").then(() => console.log("ready"));
 
// With all arguments 
sayp.speak(text, voice, speed).then(() => ...);
 
// Chained says 
sayp.speak("text").then(() => sayp.speak("text two"));
 

API

Same as the say.js, see official repo

License

MIT