Start a how-to for common usage patterns
Closed this issue · 4 comments
matthewmueller commented
Loving these standalone compiler modules :-D
Just created a tiny, tiny wrapper around this library for mocha: https://github.com/matthewmueller/async-mocha
May want to start something in the readme for including this compiler in some of the more common frameworks.
Nice work! ✨
leebyron commented
Nice!
Maybe I should include something like for that case?
mocha --require async-to-gen/register test.js
Any other usage suggestions? Happy to add more as they come up
matthewmueller commented
Yep, that works fine too :-)
I'm a serial co-mocha user, so not having to call register is one less thing to remember.
leebyron commented
I added an example of using mocha and interactive scripts as those are two I end up using async functions for all the time.
matthewmueller commented
looks good!