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

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

Build:
Build:
LAST BUILD BRANCH: midori
DEFAULT BRANCH: master
Repo Added 21 Jan 2016 12:34AM UTC
Files 24
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

LAST BUILD ON BRANCH send
branch: send
CHANGE BRANCH
x
Reset
  • send
  • adana-tools
  • adapters
  • asset-index
  • bump-version
  • dev-server-update
  • errors
  • fix-assets
  • fix-render
  • fix-root-paths
  • header
  • host-matching
  • http-presets
  • master
  • matching
  • midori
  • more-adapter-tests
  • proxy
  • redirect
  • render
  • render-tests
  • send-body
  • send-header
  • send-promise
  • smarter-assets
  • status
  • status-buttons
  • thunk
  • v0.1.2

pending completion
215

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%)

9.97 hits per line

Relevant lines Covered
Build:
Build:
405 RELEVANT LINES 390 COVERED LINES
9.97 HITS PER LINE
Source Files on send
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
215 send 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... push 02 Feb 2016 10:32AM UTC izaakschroeder travis-ci pending completion  
188 send Revert empty error change. push 31 Jan 2016 09:43PM UTC izaakschroeder travis-ci pending completion  
186 send Add lame tests. push 31 Jan 2016 09:14AM UTC izaakschroeder travis-ci pending completion  
184 send 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()), ); ``` push 31 Jan 2016 07:04AM UTC izaakschroeder travis-ci pending completion  
55 send Fix ignore paths. push 21 Jan 2016 12:41PM UTC izaakschroeder travis-ci pending completion  
See All Builds (227)
  • Repo on GitHub
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