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

silvermine / lambda-express / 16
93%
master: 98%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.4.0
DEFAULT BRANCH: master
Ran 13 Feb 2019 03:21AM UTC
Jobs 5
Files 10
Run time 1min
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

pending completion
16

push

travis-ci-com

jthomerson
Add mime-type lookup to Response.type(...)

The documentation said it was supposed to do mime type lookup for you
(e.g. `type('.html') => 'text/html'`), but that was unimplemented.

Rather than add a dependency on the `mime` package, we have pulled in
the "lite" database used by that package. We did this to reduce the
package size. The `mime` package, even though it doesn't have any
dependencies, is fairly large because of the additional more
full-featured database that it includes.  Since it's those additional
(rarely-used) types are unlikely to be needed, and we're trying to keep
our `@silvermine/lambda-express` package size small, we just imported
the "lite" database and wrote our own wrapper for it. The MIT licensing
made this acceptable to do.

133 of 137 branches covered (97.08%)

Branch coverage included in aggregate %.

230 of 253 relevant lines covered (90.91%)

1096.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16.1 13 Feb 2019 03:21AM UTC 0
93.08
Travis Job 16.1
2 16.2 13 Feb 2019 03:21AM UTC 0
93.08
Travis Job 16.2
3 16.3 13 Feb 2019 03:21AM UTC 0
93.08
Travis Job 16.3
4 16.4 13 Feb 2019 03:22AM UTC 0
93.08
Travis Job 16.4
5 16.5 13 Feb 2019 03:22AM UTC 0
93.08
Travis Job 16.5
Source Files on build 16
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Build #16
  • c197a556 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

© 2025 Coveralls, Inc