-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
What is really nice that you can wrap entire modules with it and you can use ES7 async functions. e.g.
const fs = wrap(require('fs'));
(async function (){
try {
var content = await fs.readFile('test.js', 'utf8');
console.log(content);
} catch(e) {
console.error(e);
}
})();I was wondering why so few stars you get. Maybe there is another lib with the same features or node modules were already converted so they don't need to be wrapped? I did not check yet.
Metadata
Metadata
Assignees
Labels
No labels