{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.4","author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"git://github.com/creationix/simple-mime.git"},"bugs":{"name":"http://github.com/creationix/simple-mime/issues"},"engines":["node >= 0.2.0"],"main":"simple-mime.js","_npmJsonOpts":{"file":"/home/tim/.npm/simple-mime/0.0.4/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"simple-mime@0.0.4","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.9","_defaultsLoaded":true,"dist":{"shasum":"a18cf13d61e049da25360d2782b1536749d0c58f","tarball":"http://registry-npm.ywwl.com/simple-mime/download/simple-mime-0.0.4.tgz","integrity":"sha512-4gainLgP51+myT+VAj9H0jrFY/lKCtoUeBeCjBvSeMNe1PElEeIFezpY7zwFw/Y+xs8r1IO4+oXxNB3qA+4SLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY3ee4f1BKfmP+tE1TRSNoJ33ZfkTZNLFA3qDd6qOX6QIgO8r5G0W1+p8E2X7D0yKcjsKicCWhyRXcG2g9ZfVtl/E="}],"size":2422,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.4.tgz"},"scripts":{},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"readme":"# Mime\n\nThis is a small, simple mime database.  A common thing for node servers to do is serve static files over HTTP.\nThis requires, among other things, knowin the mime type you want to send.  Here is a simple module to make this easy.\n\n## Install\n\nIf you use NPM, then install this via npm.  Also, please remember to put it as a dependency in your package.json file of your module that requires it.\n\n    npm install simple-mime\n\nIf you choose to not use npm, or can't use it in your environment, then simply copy the single file `simple-mime.js` to somewhere you can require it.\n\n## Usage\n\nSimply load this library, configure your fallback mime type, and query it for the mime type of various filenames.\n\n    var getMimeType = require('mime')('application/octect-stream');\n    var file = \"/bar/foo/baz.mp3\";\n    var type = getMimeType(file);\n\n## Goal\n\nYou will probably not use this except as a dependency to your own module that deals with serving files over HTTP, or some other protocol that requires mime types.\n\nThis doesn't have as many features as the `mime` module in npm, but it's a lot simpler too.  The goal is that it's useful to someone.\n","publish_time":1316744486879,"_cnpm_publish_time":1316744486879,"dist-tags":{"latest":"0.1.0"}}