Socket
Socket
Sign inDemoInstall

mime-db

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mime-db - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

5

HISTORY.md

@@ -0,1 +1,6 @@

1.6.1 / 2015-02-05
==================
* Community extensions ownership transferred from `node-mime`
1.6.0 / 2015-01-29

@@ -2,0 +7,0 @@ ==================

5

package.json
{
"name": "mime-db",
"description": "Media Type Database",
"version": "1.6.0",
"version": "1.6.1",
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",
"contributors": [
"Douglas Christopher Wilson <doug@somethingdoug.com>"
"Douglas Christopher Wilson <doug@somethingdoug.com>",
"Robert Kieffer <robert@broofa.com> (http://github.com/broofa)"
],

@@ -9,0 +10,0 @@ "license": "MIT",

31

README.md

@@ -10,4 +10,4 @@ # mime-db

This is a database of all mime types.
It consistents of a single, public JSON file and does not include any logic,
allowing it to remain as unopinionated as possible with an API.
It consists of a single, public JSON file and does not include any logic,
allowing it to remain as un-opinionated as possible with an API.
It aggregates data from the following sources:

@@ -18,8 +18,17 @@

## Usage
## Installation
```bash
npm i mime-db
npm install mime-db
```
If you're crazy enough to use this in the browser,
you can just grab the JSON file:
```
https://cdn.rawgit.com/jshttp/mime-db/master/db.json
```
## Usage
```js

@@ -32,9 +41,2 @@ var db = require('mime-db');

If you're crazy enough to use this in the browser,
you can just grab the JSON file:
```
https://cdn.rawgit.com/jshttp/mime-db/master/db.json
```
## Data Structure

@@ -67,2 +69,9 @@

## Adding Custom Media Types
The best way to get new media types included in this library is to register
them with the IANA. The community registration procedure is outlined in
[RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types
registered with the IANA are automatically pulled into this library.
[npm-version-image]: https://img.shields.io/npm/v/mime-db.svg?style=flat

@@ -69,0 +78,0 @@ [npm-downloads-image]: https://img.shields.io/npm/dm/mime-db.svg?style=flat

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc