Closed Lev-Shapiro closed 11 months ago
@patorjk would that be a good idea to totally remove callback as a parameter?
It should stay for backward compatibility, but I like the idea of moving to promises as the main way it should be used.
Sure, then I'll add some tests, examples and anything else that I'll find needed for this feature and very soon open the pull request
@patorjk I guess I've finished, is there anything else you would like for me to add?
I've been pretty busy the past few days. I'll try and take a look at it soon and let you know.
Looks good to me, I'll publish a new version of the package later this week. Thank you for working on this!
@all-contributors please add @Lev-Shapiro for code,example
@patorjk
I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.
I've put up a pull request to add @Lev-Shapiro! :tada:
Both figlet and figlet.text now support promises and async/await syntax instead of old callbacks ( that no one almost uses today )
Example of how to use it: