0.0.2 • Published 9 years ago

@nathanfaucett/mime v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Mime

mime for the browser and node.js

var mime = require("@nathanfaucett/mime");


// use fallback argument
mime.lookUp("test", "application/json") === "application/json";
mime.lookUp("test.json") === "application/json";
mime.lookUpType("json") === "application/json";
mime.lookUpExt("application/json") === "json";