express-catch-async

1.0.3 • Public • Published

Examples of usage :

router.get('/', catchErrors(getAllEmployees));

async function getAllEmployees() {
	return await Employee.findAllPromise();
}

Package Sidebar

Install

npm i express-catch-async

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

736 B

Total Files

3

Last publish

Collaborators

  • younes_k