0.0.8 • Published 11 years ago

uupaa.wmmimetype.js v0.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
11 years ago

WMMimeType.js Build Status

npm

MimeType.

Document

How to use

Browser

<script src="lib/WMMimeType.js"></script>
<script>
console.log( WMMimeType.getMimeType("swf") ); // "application/x-shockwave-flash"
</script>

WebWorkers

importScripts("lib/WMMimeType.js");

console.log( WMMimeType.getMimeType("m4a") ); // "audio/x-m4a"

Node.js

var WMMimeType = require("lib/WMMimeType.js");

console.log( WMMimeType.getMimeType("json") ); // "application/json"
0.0.8

11 years ago

0.0.7

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago