express-router-async

0.3.0 • Public • Published

express-async-router

const router = require('express-router-async')();
router.getAsync(async (req, res) => {
  const wow = await makeSomethingAmazing();
  res.json(wow);
});

Package Sidebar

Install

npm i express-router-async

Weekly Downloads

32

Version

0.3.0

License

MIT

Unpacked Size

2.29 kB

Total Files

4

Last publish

Collaborators

  • amasad