async-function

0.1.0 • Public • Published

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}'

/async-function/

    Package Sidebar

    Install

    npm i async-function

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • eduardorfs