DEPRECATED - Please use mime-types instead.
Extends the mime module with two main features:
- Adds some content types for preprocessor/transpiler languages
Checkout lib/types.json for additional content types. Feel free to make PRs to add your own!
An easy way to create a
content-type header just by setting an extension or mime type,
just like how Express and Koa works!
mime // => text/html; charset=utf-8mime // => application/json
This augments the
mime module globally.
It also loosely depends on
so you might want to pin
mime in your app.