ptmmime 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ ISC License
2
+
3
+ Copyright 2025 Pho Thin Maung<phothinmg@disroot.org>
4
+
5
+ Permission to use, copy, modify, and/or distribute
6
+ this software for any purpose with or without fee is
7
+ hereby granted, provided that the above copyright
8
+ notice and this permission notice appear in all copies.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR
11
+ DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
12
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
14
+ FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
15
+ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
16
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
17
+ CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
18
+ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
19
+ THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # Media Types
package/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ declare module "ptmmime" {
2
+ export type Mime = Record<string, { type: string }>;
3
+ export function mimeType(ext: string): {
4
+ type: string | undefined;
5
+ typeOf: string | undefined;
6
+ };
7
+ export const mime: Mime;
8
+ }
package/index.js ADDED
@@ -0,0 +1,35 @@
1
+ var mimeList = require("./lib/memeList.js");
2
+
3
+ var typeCache = Object.create(null);
4
+ /**
5
+ * @param {string} ext - The file extension to find the MIME type for
6
+ * @returns {{type: string|undefined, typeOf: string|undefined}} An object with the MIME type and type (e.g. "text" or "image"), or undefined if not found
7
+ */
8
+ function _mimeType(ext) {
9
+ var ex = ext.startsWith(".") ? ext : `.${ext}`;
10
+ var found = typeCache[ex] || (typeCache[ex] = mimeList[ex]);
11
+ var type = found ? found.type : undefined;
12
+ var typeOf = type ? type.split("/")[0] : undefined;
13
+ return { type, typeOf };
14
+ }
15
+
16
+ var ptmmime = (function () {
17
+ var _ = {
18
+ /**
19
+ * @param {string} ext - The file extension to find the MIME type for
20
+ * @returns {{type: string|undefined, typeOf: string|undefined}} An object with the MIME type and type (e.g. "text" or "image"), or undefined if not found
21
+ */
22
+ mimeType: function (ext) {
23
+ return _mimeType(ext);
24
+ },
25
+ mime: mimeList,
26
+ };
27
+ return _;
28
+ })();
29
+ if (
30
+ "undefined" !== typeof module &&
31
+ module.exports &&
32
+ (module.exports = ptmmime)
33
+ ) {
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ }
package/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import { createRequire } from "module";
2
+ var require = createRequire(import.meta.url);
3
+
4
+ var ptmmime = require("./index.js");
5
+
6
+ export default ptmmime;
@@ -0,0 +1,717 @@
1
+ var mimeList = {
2
+ ".x3d": { type: "application/vnd.hzn-3d-crossword" },
3
+ ".3gp": { type: "video/3gpp" },
4
+ ".3g2": { type: "video/3gpp2" },
5
+ ".mseq": { type: "application/vnd.mseq" },
6
+ ".pwn": { type: "application/vnd.3m.post-it-notes" },
7
+ ".plb": { type: "application/vnd.3gpp.pic-bw-large" },
8
+ ".psb": { type: "application/vnd.3gpp.pic-bw-small" },
9
+ ".pvb": { type: "application/vnd.3gpp.pic-bw-var" },
10
+ ".tcap": { type: "application/vnd.3gpp2.tcap" },
11
+ ".7z": { type: "application/x-7z-compressed" },
12
+ ".abw": { type: "application/x-abiword" },
13
+ ".ace": { type: "application/x-ace-compressed" },
14
+ ".acc": { type: "application/vnd.americandynamics.acc" },
15
+ ".acu": { type: "application/vnd.acucobol" },
16
+ ".atc": { type: "application/vnd.acucorp" },
17
+ ".adp": { type: "audio/adpcm" },
18
+ ".aab": { type: "application/x-authorware-bin" },
19
+ ".aam": { type: "application/x-authorware-map" },
20
+ ".aas": { type: "application/x-authorware-seg" },
21
+ ".air": {
22
+ type: "application/vnd.adobe.air-application-installer-package+zip",
23
+ },
24
+ ".swf": { type: "application/x-shockwave-flash" },
25
+ ".fxp": { type: "application/vnd.adobe.fxp" },
26
+ ".pdf": { type: "application/pdf" },
27
+ ".ppd": { type: "application/vnd.cups-ppd" },
28
+ ".dir": { type: "application/x-director" },
29
+ ".xdp": { type: "application/vnd.adobe.xdp+xml" },
30
+ ".xfdf": { type: "application/vnd.adobe.xfdf" },
31
+ ".aac": { type: "audio/x-aac" },
32
+ ".ahead": { type: "application/vnd.ahead.space" },
33
+ ".azf": { type: "application/vnd.airzip.filesecure.azf" },
34
+ ".azs": { type: "application/vnd.airzip.filesecure.azs" },
35
+ ".azw": { type: "application/vnd.amazon.ebook" },
36
+ ".ami": { type: "application/vnd.amiga.ami" },
37
+ "N/A": { type: "application/andrew-inset" },
38
+ ".apk": { type: "application/vnd.android.package-archive" },
39
+ ".cii": { type: "application/vnd.anser-web-certificate-issue-initiation" },
40
+ ".fti": { type: "application/vnd.anser-web-funds-transfer-initiation" },
41
+ ".atx": { type: "application/vnd.antix.game-component" },
42
+ ".dmg": { type: "application/x-apple-diskimage" },
43
+ ".mpkg": { type: "application/vnd.apple.installer+xml" },
44
+ ".aw": { type: "application/applixware" },
45
+ ".les": { type: "application/vnd.hhe.lesson-player" },
46
+ ".swi": { type: "application/vnd.aristanetworks.swi" },
47
+ ".s": { type: "text/x-asm" },
48
+ ".atomcat": { type: "application/atomcat+xml" },
49
+ ".atomsvc": { type: "application/atomsvc+xml" },
50
+ ".atom": { type: "application/atom+xml" },
51
+ ".xml": { type: "application/atom+xml" },
52
+ ".ac": { type: "application/pkix-attr-cert" },
53
+ ".aif": { type: "audio/x-aiff" },
54
+ ".avi": { type: "video/x-msvideo" },
55
+ ".aep": { type: "application/vnd.audiograph" },
56
+ ".dxf": { type: "image/vnd.dxf" },
57
+ ".dwf": { type: "model/vnd.dwf" },
58
+ ".par": { type: "text/plain-bas" },
59
+ ".bcpio": { type: "application/x-bcpio" },
60
+ ".bin": { type: "application/octet-stream" },
61
+ ".bmp": { type: "image/bmp" },
62
+ ".torrent": { type: "application/x-bittorrent" },
63
+ ".cod": { type: "application/vnd.rim.cod" },
64
+ ".mpm": { type: "application/vnd.blueice.multipass" },
65
+ ".bmi": { type: "application/vnd.bmi" },
66
+ ".sh": { type: "application/x-sh" },
67
+ ".btif": { type: "image/prs.btif" },
68
+ ".rep": { type: "application/vnd.businessobjects" },
69
+ ".bz": { type: "application/x-bzip" },
70
+ ".bz2": { type: "application/x-bzip2" },
71
+ ".csh": { type: "application/x-csh" },
72
+ ".c": { type: "text/x-c" },
73
+ ".cdxml": { type: "application/vnd.chemdraw+xml" },
74
+ ".css": { type: "text/css" },
75
+ ".cdx": { type: "chemical/x-cdx" },
76
+ ".cml": { type: "chemical/x-cml" },
77
+ ".csml": { type: "chemical/x-csml" },
78
+ ".cdbcmsg": { type: "application/vnd.contact.cmsg" },
79
+ ".cla": { type: "application/vnd.claymore" },
80
+ ".c4g": { type: "application/vnd.clonk.c4group" },
81
+ ".sub": { type: "image/vnd.dvb.subtitle" },
82
+ ".cdmia": { type: "application/cdmi-capability" },
83
+ ".cdmic": { type: "application/cdmi-container" },
84
+ ".cdmid": { type: "application/cdmi-domain" },
85
+ ".cdmio": { type: "application/cdmi-object" },
86
+ ".cdmiq": { type: "application/cdmi-queue" },
87
+ ".c11amc": { type: "application/vnd.cluetrust.cartomobile-config" },
88
+ ".c11amz": { type: "application/vnd.cluetrust.cartomobile-config-pkg" },
89
+ ".ras": { type: "image/x-cmu-raster" },
90
+ ".dae": { type: "model/vnd.collada+xml" },
91
+ ".csv": { type: "text/csv" },
92
+ ".cpt": { type: "application/mac-compactpro" },
93
+ ".wmlc": { type: "application/vnd.wap.wmlc" },
94
+ ".cgm": { type: "image/cgm" },
95
+ ".ice": { type: "x-conference/x-cooltalk" },
96
+ ".cmx": { type: "image/x-cmx" },
97
+ ".xar": { type: "application/vnd.xara" },
98
+ ".cmc": { type: "application/vnd.cosmocaller" },
99
+ ".cpio": { type: "application/x-cpio" },
100
+ ".clkx": { type: "application/vnd.crick.clicker" },
101
+ ".clkk": { type: "application/vnd.crick.clicker.keyboard" },
102
+ ".clkp": { type: "application/vnd.crick.clicker.palette" },
103
+ ".clkt": { type: "application/vnd.crick.clicker.template" },
104
+ ".clkw": { type: "application/vnd.crick.clicker.wordbank" },
105
+ ".wbs": { type: "application/vnd.criticaltools.wbs+xml" },
106
+ ".cryptonote": { type: "application/vnd.rig.cryptonote" },
107
+ ".cif": { type: "chemical/x-cif" },
108
+ ".cmdf": { type: "chemical/x-cmdf" },
109
+ ".cu": { type: "application/cu-seeme" },
110
+ ".cww": { type: "application/prs.cww" },
111
+ ".curl": { type: "text/vnd.curl" },
112
+ ".dcurl": { type: "text/vnd.curl.dcurl" },
113
+ ".mcurl": { type: "text/vnd.curl.mcurl" },
114
+ ".scurl": { type: "text/vnd.curl.scurl" },
115
+ ".car": { type: "application/vnd.curl.car" },
116
+ ".pcurl": { type: "application/vnd.curl.pcurl" },
117
+ ".cmp": { type: "application/vnd.yellowriver-custom-menu" },
118
+ ".dssc": { type: "application/dssc+der" },
119
+ ".xdssc": { type: "application/dssc+xml" },
120
+ ".deb": { type: "application/x-debian-package" },
121
+ ".uva": { type: "audio/vnd.dece.audio" },
122
+ ".uvi": { type: "image/vnd.dece.graphic" },
123
+ ".uvh": { type: "video/vnd.dece.hd" },
124
+ ".uvm": { type: "video/vnd.dece.mobile" },
125
+ ".uvu": { type: "video/vnd.uvvu.mp4" },
126
+ ".uvp": { type: "video/vnd.dece.pd" },
127
+ ".uvs": { type: "video/vnd.dece.sd" },
128
+ ".uvv": { type: "video/vnd.dece.video" },
129
+ ".dvi": { type: "application/x-dvi" },
130
+ ".seed": { type: "application/vnd.fdsn.seed" },
131
+ ".dtb": { type: "application/x-dtbook+xml" },
132
+ ".res": { type: "application/x-dtbresource+xml" },
133
+ ".ait": { type: "application/vnd.dvb.ait" },
134
+ ".svc": { type: "application/vnd.dvb.service" },
135
+ ".eol": { type: "audio/vnd.digital-winds" },
136
+ ".djvu": { type: "image/vnd.djvu" },
137
+ ".dtd": { type: "application/xml-dtd" },
138
+ ".mlp": { type: "application/vnd.dolby.mlp" },
139
+ ".wad": { type: "application/x-doom" },
140
+ ".dpg": { type: "application/vnd.dpgraph" },
141
+ ".dra": { type: "audio/vnd.dra" },
142
+ ".dfac": { type: "application/vnd.dreamfactory" },
143
+ ".dts": { type: "audio/vnd.dts" },
144
+ ".dtshd": { type: "audio/vnd.dts.hd" },
145
+ ".dwg": { type: "image/vnd.dwg" },
146
+ ".geo": { type: "application/vnd.dynageo" },
147
+ ".es": { type: "application/ecmascript" },
148
+ ".mag": { type: "application/vnd.ecowin.chart" },
149
+ ".mmr": { type: "image/vnd.fujixerox.edmics-mmr" },
150
+ ".rlc": { type: "image/vnd.fujixerox.edmics-rlc" },
151
+ ".exi": { type: "application/exi" },
152
+ ".mgz": { type: "application/vnd.proteus.magazine" },
153
+ ".epub": { type: "application/epub+zip" },
154
+ ".eml": { type: "message/rfc822" },
155
+ ".nml": { type: "application/vnd.enliven" },
156
+ ".xpr": { type: "application/vnd.is-xpr" },
157
+ ".xif": { type: "image/vnd.xiff" },
158
+ ".xfdl": { type: "application/vnd.xfdl" },
159
+ ".emma": { type: "application/emma+xml" },
160
+ ".ez2": { type: "application/vnd.ezpix-album" },
161
+ ".ez3": { type: "application/vnd.ezpix-package" },
162
+ ".fst": { type: "image/vnd.fst" },
163
+ ".fvt": { type: "video/vnd.fvt" },
164
+ ".fbs": { type: "image/vnd.fastbidsheet" },
165
+ ".fe_launch": { type: "application/vnd.denovo.fcselayout-link" },
166
+ ".f4v": { type: "video/x-f4v" },
167
+ ".flv": { type: "video/x-flv" },
168
+ ".fpx": { type: "image/vnd.fpx" },
169
+ ".npx": { type: "image/vnd.net-fpx" },
170
+ ".flx": { type: "text/vnd.fmi.flexstor" },
171
+ ".fli": { type: "video/x-fli" },
172
+ ".ftc": { type: "application/vnd.fluxtime.clip" },
173
+ ".fdf": { type: "application/vnd.fdf" },
174
+ ".f": { type: "text/x-fortran" },
175
+ ".mif": { type: "application/vnd.mif" },
176
+ ".fm": { type: "application/vnd.framemaker" },
177
+ ".fh": { type: "image/x-freehand" },
178
+ ".fsc": { type: "application/vnd.fsc.weblaunch" },
179
+ ".fnc": { type: "application/vnd.frogans.fnc" },
180
+ ".ltf": { type: "application/vnd.frogans.ltf" },
181
+ ".ddd": { type: "application/vnd.fujixerox.ddd" },
182
+ ".xdw": { type: "application/vnd.fujixerox.docuworks" },
183
+ ".xbd": { type: "application/vnd.fujixerox.docuworks.binder" },
184
+ ".oas": { type: "application/vnd.fujitsu.oasys" },
185
+ ".oa2": { type: "application/vnd.fujitsu.oasys2" },
186
+ ".oa3": { type: "application/vnd.fujitsu.oasys3" },
187
+ ".fg5": { type: "application/vnd.fujitsu.oasysgp" },
188
+ ".bh2": { type: "application/vnd.fujitsu.oasysprs" },
189
+ ".spl": { type: "application/x-futuresplash" },
190
+ ".fzs": { type: "application/vnd.fuzzysheet" },
191
+ ".g3": { type: "image/g3fax" },
192
+ ".gmx": { type: "application/vnd.gmx" },
193
+ ".gtw": { type: "model/vnd.gtw" },
194
+ ".txd": { type: "application/vnd.genomatix.tuxedo" },
195
+ ".ggb": { type: "application/vnd.geogebra.file" },
196
+ ".ggt": { type: "application/vnd.geogebra.tool" },
197
+ ".gdl": { type: "model/vnd.gdl" },
198
+ ".gex": { type: "application/vnd.geometry-explorer" },
199
+ ".gxt": { type: "application/vnd.geonext" },
200
+ ".g2w": { type: "application/vnd.geoplan" },
201
+ ".g3w": { type: "application/vnd.geospace" },
202
+ ".gsf": { type: "application/x-font-ghostscript" },
203
+ ".bdf": { type: "application/x-font-bdf" },
204
+ ".gtar": { type: "application/x-gtar" },
205
+ ".texinfo": { type: "application/x-texinfo" },
206
+ ".gnumeric": { type: "application/x-gnumeric" },
207
+ ".kml": { type: "application/vnd.google-earth.kml+xml" },
208
+ ".kmz": { type: "application/vnd.google-earth.kmz" },
209
+ ".gpx": { type: "application/gpx+xml" },
210
+ ".gqf": { type: "application/vnd.grafeq" },
211
+ ".gif": { type: "image/gif" },
212
+ ".gv": { type: "text/vnd.graphviz" },
213
+ ".gac": { type: "application/vnd.groove-account" },
214
+ ".ghf": { type: "application/vnd.groove-help" },
215
+ ".gim": { type: "application/vnd.groove-identity-message" },
216
+ ".grv": { type: "application/vnd.groove-injector" },
217
+ ".gtm": { type: "application/vnd.groove-tool-message" },
218
+ ".tpl": { type: "application/vnd.groove-tool-template" },
219
+ ".vcg": { type: "application/vnd.groove-vcard" },
220
+ ".h261": { type: "video/h261" },
221
+ ".h263": { type: "video/h263" },
222
+ ".h264": { type: "video/h264" },
223
+ ".hpid": { type: "application/vnd.hp-hpid" },
224
+ ".hps": { type: "application/vnd.hp-hps" },
225
+ ".hdf": { type: "application/x-hdf" },
226
+ ".rip": { type: "audio/vnd.rip" },
227
+ ".hbci": { type: "application/vnd.hbci" },
228
+ ".jlt": { type: "application/vnd.hp-jlyt" },
229
+ ".pcl": { type: "application/vnd.hp-pcl" },
230
+ ".hpgl": { type: "application/vnd.hp-hpgl" },
231
+ ".hvs": { type: "application/vnd.yamaha.hv-script" },
232
+ ".hvd": { type: "application/vnd.yamaha.hv-dic" },
233
+ ".hvp": { type: "application/vnd.yamaha.hv-voice" },
234
+ ".sfd-hdstx": { type: "application/vnd.hydrostatix.sof-data" },
235
+ ".stk": { type: "application/hyperstudio" },
236
+ ".hal": { type: "application/vnd.hal+xml" },
237
+ ".html": { type: "text/html" },
238
+ ".irm": { type: "application/vnd.ibm.rights-management" },
239
+ ".sc": { type: "application/vnd.ibm.secure-container" },
240
+ ".ics": { type: "text/calendar" },
241
+ ".icc": { type: "application/vnd.iccprofile" },
242
+ ".ico": { type: "image/x-icon" },
243
+ ".igl": { type: "application/vnd.igloader" },
244
+ ".ief": { type: "image/ief" },
245
+ ".ivp": { type: "application/vnd.immervision-ivp" },
246
+ ".ivu": { type: "application/vnd.immervision-ivu" },
247
+ ".rif": { type: "application/reginfo+xml" },
248
+ ".3dml": { type: "text/vnd.in3d.3dml" },
249
+ ".spot": { type: "text/vnd.in3d.spot" },
250
+ ".igs": { type: "model/iges" },
251
+ ".i2g": { type: "application/vnd.intergeo" },
252
+ ".cdy": { type: "application/vnd.cinderella" },
253
+ ".xpw": { type: "application/vnd.intercon.formnet" },
254
+ ".fcs": { type: "application/vnd.isac.fcs" },
255
+ ".ipfix": { type: "application/ipfix" },
256
+ ".cer": { type: "application/pkix-cert" },
257
+ ".pki": { type: "application/pkixcmp" },
258
+ ".crl": { type: "application/pkix-crl" },
259
+ ".pkipath": { type: "application/pkix-pkipath" },
260
+ ".igm": { type: "application/vnd.insors.igm" },
261
+ ".rcprofile": { type: "application/vnd.ipunplugged.rcprofile" },
262
+ ".irp": { type: "application/vnd.irepository.package+xml" },
263
+ ".jad": { type: "text/vnd.sun.j2me.app-descriptor" },
264
+ ".jar": { type: "application/java-archive" },
265
+ ".class": { type: "application/java-vm" },
266
+ ".jnlp": { type: "application/x-java-jnlp-file" },
267
+ ".ser": { type: "application/java-serialized-object" },
268
+ ".java": { type: "text/x-java-source,java" },
269
+ ".js": { type: "application/javascript" },
270
+ ".json": { type: "application/json" },
271
+ ".joda": { type: "application/vnd.joost.joda-archive" },
272
+ ".jpm": { type: "video/jpm" },
273
+ ".jpeg": { type: "image/jpeg" },
274
+ ".jpg": { type: "image/jpeg" },
275
+ ".pjpeg": { type: "image/pjpeg" },
276
+ ".jpgv": { type: "video/jpeg" },
277
+ ".ktz": { type: "application/vnd.kahootz" },
278
+ ".mmd": { type: "application/vnd.chipnuts.karaoke-mmd" },
279
+ ".karbon": { type: "application/vnd.kde.karbon" },
280
+ ".chrt": { type: "application/vnd.kde.kchart" },
281
+ ".kfo": { type: "application/vnd.kde.kformula" },
282
+ ".flw": { type: "application/vnd.kde.kivio" },
283
+ ".kon": { type: "application/vnd.kde.kontour" },
284
+ ".kpr": { type: "application/vnd.kde.kpresenter" },
285
+ ".ksp": { type: "application/vnd.kde.kspread" },
286
+ ".kwd": { type: "application/vnd.kde.kword" },
287
+ ".htke": { type: "application/vnd.kenameaapp" },
288
+ ".kia": { type: "application/vnd.kidspiration" },
289
+ ".kne": { type: "application/vnd.kinar" },
290
+ ".sse": { type: "application/vnd.kodak-descriptor" },
291
+ ".lasxml": { type: "application/vnd.las.las+xml" },
292
+ ".latex": { type: "application/x-latex" },
293
+ ".lbd": { type: "application/vnd.llamagraphics.life-balance.desktop" },
294
+ ".lbe": { type: "application/vnd.llamagraphics.life-balance.exchange+xml" },
295
+ ".jam": { type: "application/vnd.jam" },
296
+ ".123": { type: "application/vnd.lotus-1-2-3" },
297
+ ".apr": { type: "application/vnd.lotus-approach" },
298
+ ".pre": { type: "application/vnd.lotus-freelance" },
299
+ ".nsf": { type: "application/vnd.lotus-notes" },
300
+ ".org": { type: "application/vnd.lotus-organizer" },
301
+ ".scm": { type: "application/vnd.lotus-screencam" },
302
+ ".lwp": { type: "application/vnd.lotus-wordpro" },
303
+ ".lvp": { type: "audio/vnd.lucent.voice" },
304
+ ".m3u": { type: "audio/x-mpegurl" },
305
+ ".m4v": { type: "video/x-m4v" },
306
+ ".hqx": { type: "application/mac-binhex40" },
307
+ ".portpkg": { type: "application/vnd.macports.portpkg" },
308
+ ".mgp": { type: "application/vnd.osgeo.mapguide.package" },
309
+ ".mrc": { type: "application/marc" },
310
+ ".mrcx": { type: "application/marcxml+xml" },
311
+ ".mxf": { type: "application/mxf" },
312
+ ".nbp": { type: "application/vnd.wolfram.player" },
313
+ ".ma": { type: "application/mathematica" },
314
+ ".mathml": { type: "application/mathml+xml" },
315
+ ".mbox": { type: "application/mbox" },
316
+ ".mc1": { type: "application/vnd.medcalcdata" },
317
+ ".mscml": { type: "application/mediaservercontrol+xml" },
318
+ ".cdkey": { type: "application/vnd.mediastation.cdkey" },
319
+ ".mwf": { type: "application/vnd.mfer" },
320
+ ".mfm": { type: "application/vnd.mfmp" },
321
+ ".msh": { type: "model/mesh" },
322
+ ".mads": { type: "application/mads+xml" },
323
+ ".mets": { type: "application/mets+xml" },
324
+ ".mods": { type: "application/mods+xml" },
325
+ ".meta4": { type: "application/metalink4+xml" },
326
+ ".mcd": { type: "application/vnd.mcd" },
327
+ ".flo": { type: "application/vnd.micrografx.flo" },
328
+ ".igx": { type: "application/vnd.micrografx.igx" },
329
+ ".es3": { type: "application/vnd.eszigno3+xml" },
330
+ ".mdb": { type: "application/x-msaccess" },
331
+ ".asf": { type: "video/x-ms-asf" },
332
+ ".exe": { type: "application/x-msdownload" },
333
+ ".cil": { type: "application/vnd.ms-artgalry" },
334
+ ".cab": { type: "application/vnd.ms-cab-compressed" },
335
+ ".ims": { type: "application/vnd.ms-ims" },
336
+ ".application": { type: "application/x-ms-application" },
337
+ ".clp": { type: "application/x-msclip" },
338
+ ".mdi": { type: "image/vnd.ms-modi" },
339
+ ".eot": { type: "application/vnd.ms-fontobject" },
340
+ ".xls": { type: "application/vnd.ms-excel" },
341
+ ".xlam": { type: "application/vnd.ms-excel.addin.macroenabled.12" },
342
+ ".xlsb": { type: "application/vnd.ms-excel.sheet.binary.macroenabled.12" },
343
+ ".xltm": { type: "application/vnd.ms-excel.template.macroenabled.12" },
344
+ ".xlsm": { type: "application/vnd.ms-excel.sheet.macroenabled.12" },
345
+ ".chm": { type: "application/vnd.ms-htmlhelp" },
346
+ ".crd": { type: "application/x-mscardfile" },
347
+ ".lrm": { type: "application/vnd.ms-lrm" },
348
+ ".mvb": { type: "application/x-msmediaview" },
349
+ ".mny": { type: "application/x-msmoney" },
350
+ ".pptx": {
351
+ type: "application/vnd.openxmlformats-officedocument.presentationml.presentation",
352
+ },
353
+ ".sldx": {
354
+ type: "application/vnd.openxmlformats-officedocument.presentationml.slide",
355
+ },
356
+ ".ppsx": {
357
+ type: "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
358
+ },
359
+ ".potx": {
360
+ type: "application/vnd.openxmlformats-officedocument.presentationml.template",
361
+ },
362
+ ".xlsx": {
363
+ type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
364
+ },
365
+ ".xltx": {
366
+ type: "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
367
+ },
368
+ ".docx": {
369
+ type: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
370
+ },
371
+ ".dotx": {
372
+ type: "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
373
+ },
374
+ ".obd": { type: "application/x-msbinder" },
375
+ ".thmx": { type: "application/vnd.ms-officetheme" },
376
+ ".onetoc": { type: "application/onenote" },
377
+ ".pya": { type: "audio/vnd.ms-playready.media.pya" },
378
+ ".pyv": { type: "video/vnd.ms-playready.media.pyv" },
379
+ ".ppt": { type: "application/vnd.ms-powerpoint" },
380
+ ".ppam": { type: "application/vnd.ms-powerpoint.addin.macroenabled.12" },
381
+ ".sldm": { type: "application/vnd.ms-powerpoint.slide.macroenabled.12" },
382
+ ".pptm": {
383
+ type: "application/vnd.ms-powerpoint.presentation.macroenabled.12",
384
+ },
385
+ ".ppsm": {
386
+ type: "application/vnd.ms-powerpoint.slideshow.macroenabled.12",
387
+ },
388
+ ".potm": { type: "application/vnd.ms-powerpoint.template.macroenabled.12" },
389
+ ".mpp": { type: "application/vnd.ms-project" },
390
+ ".pub": { type: "application/x-mspublisher" },
391
+ ".scd": { type: "application/x-msschedule" },
392
+ ".xap": { type: "application/x-silverlight-app" },
393
+ ".stl": { type: "application/vnd.ms-pki.stl" },
394
+ ".cat": { type: "application/vnd.ms-pki.seccat" },
395
+ ".vsd": { type: "application/vnd.visio" },
396
+ ".vsdx": { type: "application/vnd.visio2013" },
397
+ ".wm": { type: "video/x-ms-wm" },
398
+ ".wma": { type: "audio/x-ms-wma" },
399
+ ".wax": { type: "audio/x-ms-wax" },
400
+ ".wmx": { type: "video/x-ms-wmx" },
401
+ ".wmd": { type: "application/x-ms-wmd" },
402
+ ".wpl": { type: "application/vnd.ms-wpl" },
403
+ ".wmz": { type: "application/x-ms-wmz" },
404
+ ".wmv": { type: "video/x-ms-wmv" },
405
+ ".wvx": { type: "video/x-ms-wvx" },
406
+ ".wmf": { type: "application/x-msmetafile" },
407
+ ".trm": { type: "application/x-msterminal" },
408
+ ".doc": { type: "application/msword" },
409
+ ".docm": { type: "application/vnd.ms-word.document.macroenabled.12" },
410
+ ".dotm": { type: "application/vnd.ms-word.template.macroenabled.12" },
411
+ ".wri": { type: "application/x-mswrite" },
412
+ ".wps": { type: "application/vnd.ms-works" },
413
+ ".xbap": { type: "application/x-ms-xbap" },
414
+ ".xps": { type: "application/vnd.ms-xpsdocument" },
415
+ ".mid": { type: "audio/midi" },
416
+ ".mpy": { type: "application/vnd.ibm.minipay" },
417
+ ".afp": { type: "application/vnd.ibm.modcap" },
418
+ ".rms": { type: "application/vnd.jcp.javame.midlet-rms" },
419
+ ".tmo": { type: "application/vnd.tmobile-livetv" },
420
+ ".prc": { type: "application/x-mobipocket-ebook" },
421
+ ".mbk": { type: "application/vnd.mobius.mbk" },
422
+ ".dis": { type: "application/vnd.mobius.dis" },
423
+ ".plc": { type: "application/vnd.mobius.plc" },
424
+ ".mqy": { type: "application/vnd.mobius.mqy" },
425
+ ".msl": { type: "application/vnd.mobius.msl" },
426
+ ".txf": { type: "application/vnd.mobius.txf" },
427
+ ".daf": { type: "application/vnd.mobius.daf" },
428
+ ".fly": { type: "text/vnd.fly" },
429
+ ".mpc": { type: "application/vnd.mophun.certificate" },
430
+ ".mpn": { type: "application/vnd.mophun.application" },
431
+ ".mj2": { type: "video/mj2" },
432
+ ".mpga": { type: "audio/mpeg" },
433
+ ".mxu": { type: "video/vnd.mpegurl" },
434
+ ".mpeg": { type: "video/mpeg" },
435
+ ".m21": { type: "application/mp21" },
436
+ ".mp4a": { type: "audio/mp4" },
437
+ ".mp4": { type: "video/mp4" },
438
+ ".m3u8": { type: "application/vnd.apple.mpegurl" },
439
+ ".mus": { type: "application/vnd.musician" },
440
+ ".msty": { type: "application/vnd.muvee.style" },
441
+ ".mxml": { type: "application/xv+xml" },
442
+ ".ngdat": { type: "application/vnd.nokia.n-gage.data" },
443
+ ".n-gage": { type: "application/vnd.nokia.n-gage.symbian.install" },
444
+ ".ncx": { type: "application/x-dtbncx+xml" },
445
+ ".nc": { type: "application/x-netcdf" },
446
+ ".nlu": { type: "application/vnd.neurolanguage.nlu" },
447
+ ".dna": { type: "application/vnd.dna" },
448
+ ".nnd": { type: "application/vnd.noblenet-directory" },
449
+ ".nns": { type: "application/vnd.noblenet-sealer" },
450
+ ".nnw": { type: "application/vnd.noblenet-web" },
451
+ ".rpst": { type: "application/vnd.nokia.radio-preset" },
452
+ ".rpss": { type: "application/vnd.nokia.radio-presets" },
453
+ ".n3": { type: "text/n3" },
454
+ ".edm": { type: "application/vnd.novadigm.edm" },
455
+ ".edx": { type: "application/vnd.novadigm.edx" },
456
+ ".ext": { type: "application/vnd.novadigm.ext" },
457
+ ".gph": { type: "application/vnd.flographit" },
458
+ ".ecelp4800": { type: "audio/vnd.nuera.ecelp4800" },
459
+ ".ecelp7470": { type: "audio/vnd.nuera.ecelp7470" },
460
+ ".ecelp9600": { type: "audio/vnd.nuera.ecelp9600" },
461
+ ".oda": { type: "application/oda" },
462
+ ".ogx": { type: "application/ogg" },
463
+ ".oga": { type: "audio/ogg" },
464
+ ".ogv": { type: "video/ogg" },
465
+ ".dd2": { type: "application/vnd.oma.dd2+xml" },
466
+ ".oth": { type: "application/vnd.oasis.opendocument.text-web" },
467
+ ".opf": { type: "application/oebps-package+xml" },
468
+ ".qbo": { type: "application/vnd.intu.qbo" },
469
+ ".oxt": { type: "application/vnd.openofficeorg.extension" },
470
+ ".osf": { type: "application/vnd.yamaha.openscoreformat" },
471
+ ".weba": { type: "audio/webm" },
472
+ ".webm": { type: "video/webm" },
473
+ ".odc": { type: "application/vnd.oasis.opendocument.chart" },
474
+ ".otc": { type: "application/vnd.oasis.opendocument.chart-template" },
475
+ ".odb": { type: "application/vnd.oasis.opendocument.database" },
476
+ ".odf": { type: "application/vnd.oasis.opendocument.formula" },
477
+ ".odft": { type: "application/vnd.oasis.opendocument.formula-template" },
478
+ ".odg": { type: "application/vnd.oasis.opendocument.graphics" },
479
+ ".otg": { type: "application/vnd.oasis.opendocument.graphics-template" },
480
+ ".odi": { type: "application/vnd.oasis.opendocument.image" },
481
+ ".oti": { type: "application/vnd.oasis.opendocument.image-template" },
482
+ ".odp": { type: "application/vnd.oasis.opendocument.presentation" },
483
+ ".otp": {
484
+ type: "application/vnd.oasis.opendocument.presentation-template",
485
+ },
486
+ ".ods": { type: "application/vnd.oasis.opendocument.spreadsheet" },
487
+ ".ots": { type: "application/vnd.oasis.opendocument.spreadsheet-template" },
488
+ ".odt": { type: "application/vnd.oasis.opendocument.text" },
489
+ ".odm": { type: "application/vnd.oasis.opendocument.text-master" },
490
+ ".ott": { type: "application/vnd.oasis.opendocument.text-template" },
491
+ ".ktx": { type: "image/ktx" },
492
+ ".sxc": { type: "application/vnd.sun.xml.calc" },
493
+ ".stc": { type: "application/vnd.sun.xml.calc.template" },
494
+ ".sxd": { type: "application/vnd.sun.xml.draw" },
495
+ ".std": { type: "application/vnd.sun.xml.draw.template" },
496
+ ".sxi": { type: "application/vnd.sun.xml.impress" },
497
+ ".sti": { type: "application/vnd.sun.xml.impress.template" },
498
+ ".sxm": { type: "application/vnd.sun.xml.math" },
499
+ ".sxw": { type: "application/vnd.sun.xml.writer" },
500
+ ".sxg": { type: "application/vnd.sun.xml.writer.global" },
501
+ ".stw": { type: "application/vnd.sun.xml.writer.template" },
502
+ ".otf": { type: "application/x-font-otf" },
503
+ ".osfpvg": { type: "application/vnd.yamaha.openscoreformat.osfpvg+xml" },
504
+ ".dp": { type: "application/vnd.osgi.dp" },
505
+ ".pdb": { type: "application/vnd.palm" },
506
+ ".p": { type: "text/x-pascal" },
507
+ ".paw": { type: "application/vnd.pawaafile" },
508
+ ".pclxl": { type: "application/vnd.hp-pclxl" },
509
+ ".efif": { type: "application/vnd.picsel" },
510
+ ".pcx": { type: "image/x-pcx" },
511
+ ".psd": { type: "image/vnd.adobe.photoshop" },
512
+ ".prf": { type: "application/pics-rules" },
513
+ ".pic": { type: "image/x-pict" },
514
+ ".chat": { type: "application/x-chat" },
515
+ ".p10": { type: "application/pkcs10" },
516
+ ".p12": { type: "application/x-pkcs12" },
517
+ ".p7m": { type: "application/pkcs7-mime" },
518
+ ".p7s": { type: "application/pkcs7-signature" },
519
+ ".p7r": { type: "application/x-pkcs7-certreqresp" },
520
+ ".p7b": { type: "application/x-pkcs7-certificates" },
521
+ ".p8": { type: "application/pkcs8" },
522
+ ".plf": { type: "application/vnd.pocketlearn" },
523
+ ".pnm": { type: "image/x-portable-anymap" },
524
+ ".pbm": { type: "image/x-portable-bitmap" },
525
+ ".pcf": { type: "application/x-font-pcf" },
526
+ ".pfr": { type: "application/font-tdpfr" },
527
+ ".pgn": { type: "application/x-chess-pgn" },
528
+ ".pgm": { type: "image/x-portable-graymap" },
529
+ ".png": { type: "image/png" },
530
+ ".ppm": { type: "image/x-portable-pixmap" },
531
+ ".pskcxml": { type: "application/pskc+xml" },
532
+ ".pml": { type: "application/vnd.ctc-posml" },
533
+ ".ai": { type: "application/postscript" },
534
+ ".pfa": { type: "application/x-font-type1" },
535
+ ".pbd": { type: "application/vnd.powerbuilder6" },
536
+ ".pgp": { type: "application/pgp-encrypted" },
537
+ ".box": { type: "application/vnd.previewsystems.box" },
538
+ ".ptid": { type: "application/vnd.pvi.ptid1" },
539
+ ".pls": { type: "application/pls+xml" },
540
+ ".str": { type: "application/vnd.pg.format" },
541
+ ".ei6": { type: "application/vnd.pg.osasli" },
542
+ ".dsc": { type: "text/prs.lines.tag" },
543
+ ".psf": { type: "application/x-font-linux-psf" },
544
+ ".qps": { type: "application/vnd.publishare-delta-tree" },
545
+ ".wg": { type: "application/vnd.pmi.widget" },
546
+ ".qxd": { type: "application/vnd.quark.quarkxpress" },
547
+ ".esf": { type: "application/vnd.epson.esf" },
548
+ ".msf": { type: "application/vnd.epson.msf" },
549
+ ".ssf": { type: "application/vnd.epson.ssf" },
550
+ ".qam": { type: "application/vnd.epson.quickanime" },
551
+ ".qfx": { type: "application/vnd.intu.qfx" },
552
+ ".qt": { type: "video/quicktime" },
553
+ ".rar": { type: "application/x-rar-compressed" },
554
+ ".ram": { type: "audio/x-pn-realaudio" },
555
+ ".rmp": { type: "audio/x-pn-realaudio-plugin" },
556
+ ".rsd": { type: "application/rsd+xml" },
557
+ ".rm": { type: "application/vnd.rn-realmedia" },
558
+ ".bed": { type: "application/vnd.realvnc.bed" },
559
+ ".mxl": { type: "application/vnd.recordare.musicxml" },
560
+ ".musicxml": { type: "application/vnd.recordare.musicxml+xml" },
561
+ ".rnc": { type: "application/relax-ng-compact-syntax" },
562
+ ".rdz": { type: "application/vnd.data-vision.rdz" },
563
+ ".rdf": { type: "application/rdf+xml" },
564
+ ".rp9": { type: "application/vnd.cloanto.rp9" },
565
+ ".jisp": { type: "application/vnd.jisp" },
566
+ ".rtf": { type: "application/rtf" },
567
+ ".rtx": { type: "text/richtext" },
568
+ ".link66": { type: "application/vnd.route66.link66+xml" },
569
+ ".rss": { type: "application/rss+xml" },
570
+ ".shf": { type: "application/shf+xml" },
571
+ ".st": { type: "application/vnd.sailingtracker.track" },
572
+ ".svg": { type: "image/svg+xml" },
573
+ ".sus": { type: "application/vnd.sus-calendar" },
574
+ ".sru": { type: "application/sru+xml" },
575
+ ".setpay": { type: "application/set-payment-initiation" },
576
+ ".setreg": { type: "application/set-registration-initiation" },
577
+ ".sema": { type: "application/vnd.sema" },
578
+ ".semd": { type: "application/vnd.semd" },
579
+ ".semf": { type: "application/vnd.semf" },
580
+ ".see": { type: "application/vnd.seemail" },
581
+ ".snf": { type: "application/x-font-snf" },
582
+ ".spq": { type: "application/scvp-vp-request" },
583
+ ".spp": { type: "application/scvp-vp-response" },
584
+ ".scq": { type: "application/scvp-cv-request" },
585
+ ".scs": { type: "application/scvp-cv-response" },
586
+ ".sdp": { type: "application/sdp" },
587
+ ".etx": { type: "text/x-setext" },
588
+ ".movie": { type: "video/x-sgi-movie" },
589
+ ".ifm": { type: "application/vnd.shana.informed.formdata" },
590
+ ".itp": { type: "application/vnd.shana.informed.formtemplate" },
591
+ ".iif": { type: "application/vnd.shana.informed.interchange" },
592
+ ".ipk": { type: "application/vnd.shana.informed.package" },
593
+ ".tfi": { type: "application/thraud+xml" },
594
+ ".shar": { type: "application/x-shar" },
595
+ ".rgb": { type: "image/x-rgb" },
596
+ ".slt": { type: "application/vnd.epson.salt" },
597
+ ".aso": { type: "application/vnd.accpac.simply.aso" },
598
+ ".imp": { type: "application/vnd.accpac.simply.imp" },
599
+ ".twd": { type: "application/vnd.simtech-mindmapper" },
600
+ ".csp": { type: "application/vnd.commonspace" },
601
+ ".saf": { type: "application/vnd.yamaha.smaf-audio" },
602
+ ".mmf": { type: "application/vnd.smaf" },
603
+ ".spf": { type: "application/vnd.yamaha.smaf-phrase" },
604
+ ".teacher": { type: "application/vnd.smart.teacher" },
605
+ ".svd": { type: "application/vnd.svd" },
606
+ ".rq": { type: "application/sparql-query" },
607
+ ".srx": { type: "application/sparql-results+xml" },
608
+ ".gram": { type: "application/srgs" },
609
+ ".grxml": { type: "application/srgs+xml" },
610
+ ".ssml": { type: "application/ssml+xml" },
611
+ ".skp": { type: "application/vnd.koan" },
612
+ ".sgml": { type: "text/sgml" },
613
+ ".sdc": { type: "application/vnd.stardivision.calc" },
614
+ ".sda": { type: "application/vnd.stardivision.draw" },
615
+ ".sdd": { type: "application/vnd.stardivision.impress" },
616
+ ".smf": { type: "application/vnd.stardivision.math" },
617
+ ".sdw": { type: "application/vnd.stardivision.writer" },
618
+ ".sgl": { type: "application/vnd.stardivision.writer-global" },
619
+ ".sm": { type: "application/vnd.stepmania.stepchart" },
620
+ ".sit": { type: "application/x-stuffit" },
621
+ ".sitx": { type: "application/x-stuffitx" },
622
+ ".sdkm": { type: "application/vnd.solent.sdkm+xml" },
623
+ ".xo": { type: "application/vnd.olpc-sugar" },
624
+ ".au": { type: "audio/basic" },
625
+ ".wqd": { type: "application/vnd.wqd" },
626
+ ".sis": { type: "application/vnd.symbian.install" },
627
+ ".smi": { type: "application/smil+xml" },
628
+ ".xsm": { type: "application/vnd.syncml+xml" },
629
+ ".bdm": { type: "application/vnd.syncml.dm+wbxml" },
630
+ ".xdm": { type: "application/vnd.syncml.dm+xml" },
631
+ ".sv4cpio": { type: "application/x-sv4cpio" },
632
+ ".sv4crc": { type: "application/x-sv4crc" },
633
+ ".sbml": { type: "application/sbml+xml" },
634
+ ".tsv": { type: "text/tab-separated-values" },
635
+ ".tiff": { type: "image/tiff" },
636
+ ".tao": { type: "application/vnd.tao.intent-module-archive" },
637
+ ".tar": { type: "application/x-tar" },
638
+ ".tcl": { type: "application/x-tcl" },
639
+ ".tex": { type: "application/x-tex" },
640
+ ".tfm": { type: "application/x-tex-tfm" },
641
+ ".tei": { type: "application/tei+xml" },
642
+ ".txt": { type: "text/plain" },
643
+ ".dxp": { type: "application/vnd.spotfire.dxp" },
644
+ ".sfs": { type: "application/vnd.spotfire.sfs" },
645
+ ".tsd": { type: "application/timestamped-data" },
646
+ ".tpt": { type: "application/vnd.trid.tpt" },
647
+ ".mxs": { type: "application/vnd.triscape.mxs" },
648
+ ".t": { type: "text/troff" },
649
+ ".tra": { type: "application/vnd.trueapp" },
650
+ ".ttf": { type: "application/x-font-ttf" },
651
+ ".ttl": { type: "text/turtle" },
652
+ ".umj": { type: "application/vnd.umajin" },
653
+ ".uoml": { type: "application/vnd.uoml+xml" },
654
+ ".unityweb": { type: "application/vnd.unity" },
655
+ ".ufd": { type: "application/vnd.ufdl" },
656
+ ".uri": { type: "text/uri-list" },
657
+ ".utz": { type: "application/vnd.uiq.theme" },
658
+ ".ustar": { type: "application/x-ustar" },
659
+ ".uu": { type: "text/x-uuencode" },
660
+ ".vcs": { type: "text/x-vcalendar" },
661
+ ".vcf": { type: "text/x-vcard" },
662
+ ".vcd": { type: "application/x-cdlink" },
663
+ ".vsf": { type: "application/vnd.vsf" },
664
+ ".wrl": { type: "model/vrml" },
665
+ ".vcx": { type: "application/vnd.vcx" },
666
+ ".mts": { type: "model/vnd.mts" },
667
+ ".vtu": { type: "model/vnd.vtu" },
668
+ ".vis": { type: "application/vnd.visionary" },
669
+ ".viv": { type: "video/vnd.vivo" },
670
+ ".ccxml": { type: "application/ccxml+xml," },
671
+ ".vxml": { type: "application/voicexml+xml" },
672
+ ".src": { type: "application/x-wais-source" },
673
+ ".wbxml": { type: "application/vnd.wap.wbxml" },
674
+ ".wbmp": { type: "image/vnd.wap.wbmp" },
675
+ ".wav": { type: "audio/x-wav" },
676
+ ".davmount": { type: "application/davmount+xml" },
677
+ ".woff": { type: "application/x-font-woff" },
678
+ ".wspolicy": { type: "application/wspolicy+xml" },
679
+ ".webp": { type: "image/webp" },
680
+ ".wtb": { type: "application/vnd.webturbo" },
681
+ ".wgt": { type: "application/widget" },
682
+ ".hlp": { type: "application/winhlp" },
683
+ ".wml": { type: "text/vnd.wap.wml" },
684
+ ".wmls": { type: "text/vnd.wap.wmlscript" },
685
+ ".wmlsc": { type: "application/vnd.wap.wmlscriptc" },
686
+ ".wpd": { type: "application/vnd.wordperfect" },
687
+ ".stf": { type: "application/vnd.wt.stf" },
688
+ ".wsdl": { type: "application/wsdl+xml" },
689
+ ".xbm": { type: "image/x-xbitmap" },
690
+ ".xpm": { type: "image/x-xpixmap" },
691
+ ".xwd": { type: "image/x-xwindowdump" },
692
+ ".der": { type: "application/x-x509-ca-cert" },
693
+ ".fig": { type: "application/x-xfig" },
694
+ ".xhtml": { type: "application/xhtml+xml" },
695
+ ".xdf": { type: "application/xcap-diff+xml" },
696
+ ".xenc": { type: "application/xenc+xml" },
697
+ ".xer": { type: "application/patch-ops-error+xml" },
698
+ ".rl": { type: "application/resource-lists+xml" },
699
+ ".rs": { type: "application/rls-services+xml" },
700
+ ".rld": { type: "application/resource-lists-diff+xml" },
701
+ ".xslt": { type: "application/xslt+xml" },
702
+ ".xop": { type: "application/xop+xml" },
703
+ ".xpi": { type: "application/x-xpinstall" },
704
+ ".xspf": { type: "application/xspf+xml" },
705
+ ".xul": { type: "application/vnd.mozilla.xul+xml" },
706
+ ".xyz": { type: "chemical/x-xyz" },
707
+ ".yaml": { type: "text/yaml" },
708
+ ".yang": { type: "application/yang" },
709
+ ".yin": { type: "application/yin+xml" },
710
+ ".zir": { type: "application/vnd.zul" },
711
+ ".zip": { type: "application/zip" },
712
+ ".zmm": { type: "application/vnd.handheld-entertainment+xml" },
713
+ ".zaz": { type: "application/vnd.zzazz.deck+xml" },
714
+ ".htm": { type: "text/html" },
715
+ };
716
+
717
+ module.exports = mimeList;
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "ptmmime",
3
+ "version": "0.1.0",
4
+ "description": "Media Types",
5
+ "main": "index.js",
6
+ "types": "./index.d.ts",
7
+ "module": "index.mjs",
8
+ "keywords": [],
9
+ "author": {
10
+ "name": "Pho Thin Mg",
11
+ "email": "phothinmg@disroot.org",
12
+ "url": "https://phothinmg.github.io/"
13
+ },
14
+ "license": "ISC",
15
+ "devDependencies": {
16
+ "@types/node": "^25.0.3",
17
+ "typescript": "^5.9.3"
18
+ },
19
+ "files": [
20
+ "package.json",
21
+ "README.md",
22
+ "LICENSE",
23
+ "index.js",
24
+ "index.mjs",
25
+ "index.d.ts",
26
+ "lib/**"
27
+ ]
28
+ }