Have the computer speak out a string or pass it a command.
speak supports both a simple string or passing a public command that outputs a string.
`cd path/to/speak`
npm link
var speak = require('path/to/speak');
speak('Hello, world!', () => {
// done
});
// => 'Hello, world!'
speak(undefined, () => {
// done
}, 'weather');
// => 'Denver, CO: 4 C degrees.'
speak 'Hello, world!'
speak weather
Type: string
The string to be spoken.
Type: function
Will be called on complete.
Type: string
Optional string that should represent a public command which logs a string.
MIT © Emil Johansson