0.1.0 • Published 8 years ago
async-function v0.1.0
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}'
0.1.0
8 years ago