@replit/express-router-async

0.4.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 @replit/express-router-async

      Weekly Downloads

      1

      Version

      0.4.0

      License

      MIT

      Unpacked Size

      3.09 kB

      Total Files

      3

      Last publish

      Collaborators

      • mikewesthad
      • motzyball
      • juan.replit
      • ahulbert-replit
      • james-addison-replit
      • replitdstewart
      • ryanweingast
      • harryatreplit
      • theflowingsky
      • jonesit-replit
      • szymon_k
      • cdmistman
      • jackyzha0
      • jamesaustinreplit
      • lopezhoracio
      • bradymaddenreplit
      • ryantm
      • alexisreplit
      • ink404
      • brianpool
      • tobyho
      • brenoafb
      • masad-frost
      • lincolnreplit
      • stkenned
      • replitmatt
      • cbrewster
      • ltazmin_replit
      • moudy
      • schestakov
      • lhchavez
      • slmjkdbtl
      • lunaroyster