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);
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i express-router-async

      Weekly Downloads

      11

      Version

      0.3.0

      License

      MIT

      Unpacked Size

      2.29 kB

      Total Files

      4

      Last publish

      Collaborators

      • amasad