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

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

Build:
Build:
LAST BUILD BRANCH: midori
DEFAULT BRANCH: master
Ran 02 Feb 2016 10:33AM UTC
Files 28
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.144% (+0.5%) from 95.665%
215.1

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.

374 of 389 relevant lines covered (96.14%)

3.13 hits per line

Source Files on job 215.1
  • 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.1
  • 5b3ade36 on github
  • Prev Job for on send (#188.1)
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