• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

metalabdesign / http-middleware-metalab / 215 / 2
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: midori
DEFAULT BRANCH: master
Ran 02 Feb 2016 10:33AM UTC
Files 29
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Feb 2016 10:30AM UTC coverage: 96.296% (+0.4%) from 95.856%
215.2

push

travis-ci

izaakschroeder
Add `serve` middleware for static content.

A simple static file server is now easy as:

```javascript
const createApp = compose(
  verbs.get('/foo', serve({ root: __dirname })),
  compose(status(404), send()),
);
```

Tests aren't great right now, but they'll do the job.

390 of 405 relevant lines covered (96.3%)

3.48 hits per line

Source Files on job 215.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 215
  • Travis Job 215.2
  • 5b3ade36 on github
  • Prev Job for on send (#188.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc