Package Exports
- async-function
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (async-function) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
async-function
Allow change prototype of async functions like Function.prototype but only on async functions, works only on native
const AsyncFunction = require('async-function');
const return1 = new AsyncFunction('return 1');
console.log(return1) // 'async function anonymous() {\nreturn 1\n}'