Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

express-promised

0.1.0 • Public • Published

express-promised

NPM Version

router = require("express-promised").Router()
 
router.get "/"({db})->
    db.users.find()
 
router.get "/:id"({db, params})->
    db.users.findOne params
 
app.use "/users" router

install

npm i express-promised

Downloadsweekly downloads

11

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar