asynccbn
Babel Plugin to transpile EcmaScript7 async function transpiled into callbacks.
still working, carefull in production enviroments
Why
Promises and generators need more memory and are slower then callbacks.
install
npm install asynccbn
usage
Use it as a babeljs plugin
sample 1: defining an async function
input:
{ return a/b; }
output:
{ ; }
sample 2: invoking async function
input:
{ return await + await ; }
output:
;