synchronous version
seriousManual opened this issue · comments
hi,
have you ever thought of making an synchronous way of calling the text function?
could be something like:
console.log(figlet.textSync('Boo!', { font:'Ghost'}));
which acts identically to the async version but returns the created text.
That wouldn't be hard to put in. Last night I was also debating adding the ability to use promises for the async API, which would make it a little easier to work with. So maybe I'll make a 1.1.0 version that adds this feature and promises.