{"_id":"simple-mime","_rev":"411125","name":"simple-mime","description":"A simple mime database.","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"time":{"modified":"2021-08-04T05:08:53.000Z","created":"2010-12-26T08:10:45.536Z","0.1.0":"2014-07-25T21:42:46.227Z","0.0.8":"2012-10-19T20:16:29.600Z","0.0.7":"2012-10-19T20:03:18.911Z","0.0.6":"2012-07-02T22:02:02.090Z","0.0.5":"2012-04-03T20:10:50.546Z","0.0.4":"2011-09-23T02:21:26.879Z","0.0.3":"2011-04-30T23:52:43.822Z","0.0.2":"2011-04-01T04:27:18.553Z","0.0.1":"2010-12-26T08:10:45.536Z"},"users":{},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"http://github.com/creationix/simple-mime.git"},"versions":{"0.1.0":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.1.0","author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"http://github.com/creationix/simple-mime.git"},"bugs":{"url":"http://github.com/creationix/simple-mime/issues"},"engines":["node >= 0.2.0"],"main":"simple-mime.js","homepage":"https://github.com/creationix/simple-mime","_id":"simple-mime@0.1.0","_shasum":"95f517c4f466d7cff561a71fc9dab2596ea9ef2e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"dist":{"shasum":"95f517c4f466d7cff561a71fc9dab2596ea9ef2e","size":3214,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.1.0.tgz"},"directories":{},"publish_time":1406324566227,"_cnpm_publish_time":1406324566227,"_hasShrinkwrap":false},"0.0.8":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.8","author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"http://github.com/creationix/simple-mime.git"},"bugs":"http://github.com/creationix/simple-mime/issues","engines":["node >= 0.2.0"],"main":"simple-mime.js","_id":"simple-mime@0.0.8","dist":{"shasum":"052e70f8ef9f2f790f8f9452c67a1cb5cccf80d0","size":2518,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.8.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1350677789600,"_cnpm_publish_time":1350677789600,"_hasShrinkwrap":false},"0.0.7":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.7","author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"http://github.com/creationix/simple-mime.git"},"bugs":"http://github.com/creationix/simple-mime/issues","engines":["node >= 0.2.0"],"main":"simple-mime.js","_id":"simple-mime@0.0.7","dist":{"shasum":"c9fea01679d99e56b4b4ae3300a0cfecca719644","size":2507,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.7.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1350676998911,"_cnpm_publish_time":1350676998911,"_hasShrinkwrap":false},"0.0.6":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.6","author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"http://github.com/creationix/simple-mime.git"},"bugs":"http://github.com/creationix/simple-mime/issues","engines":["node >= 0.2.0"],"main":"simple-mime.js","_id":"simple-mime@0.0.6","dist":{"shasum":"895747e0ce512855b068bf8ea524c0bf7cceab75","size":2489,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.6.tgz"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1341266522090,"_cnpm_publish_time":1341266522090,"_hasShrinkwrap":false},"0.0.5":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.5","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","_npmUser":{"name":"creationix","email":"tim@creationix.com"},"_id":"simple-mime@0.0.5","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.14","_defaultsLoaded":true,"dist":{"shasum":"1e4dbb4b2d44d9e2fff45f4350248c4b11369a4e","size":2484,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.5.tgz"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1333483850546,"_cnpm_publish_time":1333483850546,"_hasShrinkwrap":false},"0.0.4":{"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","size":2422,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.4.tgz"},"scripts":{},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"directories":{},"publish_time":1316744486879,"_cnpm_publish_time":1316744486879,"_hasShrinkwrap":false},"0.0.3":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.3","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","_id":"simple-mime@0.0.3","_engineSupported":true,"_npmVersion":"0.3.18","_nodeVersion":"v0.4.7","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"50403b3624c1526b00b0a699247d4f25433a3f55","size":2509,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.3.tgz"},"publish_time":1304207563822,"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"_cnpm_publish_time":1304207563822,"_hasShrinkwrap":false},"0.0.2":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.2","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","_id":"simple-mime@0.0.2","_engineSupported":true,"_npmVersion":"0.3.15","_nodeVersion":"v0.4.2","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"924b51e96a9c4e6bce157598bb5335c79bf8aa85","size":2493,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.2.tgz"},"publish_time":1301632038553,"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"_cnpm_publish_time":1301632038553,"_hasShrinkwrap":false},"0.0.1":{"name":"simple-mime","description":"A simple mime database.","tags":["mime","http","stack"],"version":"0.0.1","author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"http://github.com/creationix/simple-mime.git"},"bugs":{"name":"http://github.com/creationix/simple-mime/issues"},"engines":["node >= 0.2.0"],"main":"simple-mime","_id":"simple-mime@0.0.1","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.3.2","dist":{"shasum":"e9feb78cb82050bdbe6b5f59b44363c9c36fe734","size":2518,"noattachment":false,"key":"/simple-mime/-/simple-mime-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-mime/download/simple-mime-0.0.1.tgz"},"directories":{},"publish_time":1293351045536,"maintainers":[{"name":"creationix","email":"tim@creationix.com"}],"_cnpm_publish_time":1293351045536,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/creationix/simple-mime","bugs":{"url":"http://github.com/creationix/simple-mime/issues"}}