Skip to content

karmapa17/karmapa-wrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karmapa-wrap

Build Status Coverage Status Dependency Status

Installation

node:

$ npm i karmapa-wrap
import app from 'express';
import wrap from 'karmapa-wrap';

const app = express();

app.get('/test', wrap(async function myAsyncController() {
  throw 'Error';
}));

About

wrap function to output async function error

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published