Skip to content

joyarzun/say-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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