How to use mime method in Best

Best JavaScript code snippet using best

MimeType.js

Source: MimeType.js Github

copy

Full Screen

1var MimeType = {};23MimeType[".ez"] = "application/​andrew-inset";4MimeType[".aw"] = "application/​applixware";5MimeType[".atom"] = "application/​atom+xml";6MimeType[".atomcat"] = "application/​atomcat+xml";7MimeType[".atomsvc"] = "application/​atomsvc+xml";8MimeType[".ccxml"] = "application/​ccxml+xml";9MimeType[".cu"] = "application/​cu-seeme";10MimeType[".davmount"] = "application/​davmount+xml";11MimeType[".ecma"] = "application/​ecmascript";12MimeType[".emma"] = "application/​emma+xml";13MimeType[".epub"] = "application/​epub+zip";14MimeType[".pfr"] = "application/​font-tdpfr";15MimeType[".stk"] = "application/​hyperstudio";16MimeType[".jar"] = "application/​java-archive";17MimeType[".ser"] = "application/​java-serialized-object";18MimeType[".class"] = "application/​java-vm";19MimeType[".js"] = "application/​javascript";20MimeType[".json"] = "application/​json";21MimeType[".lostxml"] = "application/​lost+xml";22MimeType[".hqx"] = "application/​mac-binhex40";23MimeType[".cpt"] = "application/​mac-compactpro";24MimeType[".mrc"] = "application/​marc";25MimeType[".ma,.nb,.mb"] = "application/​mathematica";26MimeType[".mathml"] = "application/​mathml+xml";27MimeType[".mbox"] = "application/​mbox";28MimeType[".mscml"] = "application/​mediaservercontrol+xml";29MimeType[".mp4s"] = "application/​mp4";30MimeType[".doc,.dot"] = "application/​msword";31MimeType[".mxf"] = "application/​mxf";32MimeType[".oda"] = "application/​oda";33MimeType[".opf"] = "application/​oebps-package+xml";34MimeType[".ogx"] = "application/​ogg";35MimeType[".onetoc,.onetoc2,.onetmp,.onepkg"] = "application/​onenote";36MimeType[".xer"] = "application/​patch-ops-error+xml";37MimeType[".pdf"] = "application/​pdf";38MimeType[".pgp"] = "application/​pgp-encrypted";39MimeType[".asc,.sig"] = "application/​pgp-signature";40MimeType[".prf"] = "application/​pics-rules";41MimeType[".p10"] = "application/​pkcs10";42MimeType[".p7m,.p7c"] = "application/​pkcs7-mime";43MimeType[".p7s"] = "application/​pkcs7-signature";44MimeType[".cer"] = "application/​pkix-cert";45MimeType[".crl"] = "application/​pkix-crl";46MimeType[".pkipath"] = "application/​pkix-pkipath";47MimeType[".pki"] = "application/​pkixcmp";48MimeType[".pls"] = "application/​pls+xml";49MimeType[".ai,.eps,.ps"] = "application/​postscript";50MimeType[".cww"] = "application/​prs.cww";51MimeType[".rdf"] = "application/​rdf+xml";52MimeType[".rif"] = "application/​reginfo+xml";53MimeType[".rnc"] = "application/​relax-ng-compact-syntax";54MimeType[".rl"] = "application/​resource-lists+xml";55MimeType[".rld"] = "application/​resource-lists-diff+xml";56MimeType[".rs"] = "application/​rls-services+xml";57MimeType[".rsd"] = "application/​rsd+xml";58MimeType[".rss"] = "application/​rss+xml";59MimeType[".rtf"] = "application/​rtf";60MimeType[".sbml"] = "application/​sbml+xml";61MimeType[".scq"] = "application/​scvp-cv-request";62MimeType[".scs"] = "application/​scvp-cv-response";63MimeType[".spq"] = "application/​scvp-vp-request";64MimeType[".spp"] = "application/​scvp-vp-response";65MimeType[".sdp"] = "application/​sdp";66MimeType[".setpay"] = "application/​set-payment-initiation";67MimeType[".setreg"] = "application/​set-registration-initiation";68MimeType[".shf"] = "application/​shf+xml";69MimeType[".smi,.smil"] = "application/​smil+xml";70MimeType[".rq"] = "application/​sparql-query";71MimeType[".srx"] = "application/​sparql-results+xml";72MimeType[".gram"] = "application/​srgs";73MimeType[".grxml"] = "application/​srgs+xml";74MimeType[".ssml"] = "application/​ssml+xml";75MimeType[".plb"] = "application/​vnd.3gpp.pic-bw-large";76MimeType[".psb"] = "application/​vnd.3gpp.pic-bw-small";77MimeType[".pvb"] = "application/​vnd.3gpp.pic-bw-var";78MimeType[".tcap"] = "application/​vnd.3gpp2.tcap";79MimeType[".pwn"] = "application/​vnd.3m.post-it-notes";80MimeType[".aso"] = "application/​vnd.accpac.simply.aso";81MimeType[".imp"] = "application/​vnd.accpac.simply.imp";82MimeType[".acu"] = "application/​vnd.acucobol";83MimeType[".atc,.acutc"] = "application/​vnd.acucorp";84MimeType[".air"] = "application/​vnd.adobe.air-application-installer-package+zip";85MimeType[".xdp"] = "application/​vnd.adobe.xdp+xml";86MimeType[".xfdf"] = "application/​vnd.adobe.xfdf";87MimeType[".azf"] = "application/​vnd.airzip.filesecure.azf";88MimeType[".azs"] = "application/​vnd.airzip.filesecure.azs";89MimeType[".azw"] = "application/​vnd.amazon.ebook";90MimeType[".acc"] = "application/​vnd.americandynamics.acc";91MimeType[".ami"] = "application/​vnd.amiga.ami";92MimeType[".apk"] = "application/​vnd.android.package-archive";93MimeType[".cii"] = "application/​vnd.anser-web-certificate-issue-initiation";94MimeType[".fti"] = "application/​vnd.anser-web-funds-transfer-initiation";95MimeType[".atx"] = "application/​vnd.antix.game-component";96MimeType[".mpkg"] = "application/​vnd.apple.installer+xml";97MimeType[".swi"] = "application/​vnd.arastra.swi";98MimeType[".aep"] = "application/​vnd.audiograph";99MimeType[".mpm"] = "application/​vnd.blueice.multipass";100MimeType[".bmi"] = "application/​vnd.bmi";101MimeType[".rep"] = "application/​vnd.businessobjects";102MimeType[".cdxml"] = "application/​vnd.chemdraw+xml";103MimeType[".mmd"] = "application/​vnd.chipnuts.karaoke-mmd";104MimeType[".cdy"] = "application/​vnd.cinderella";105MimeType[".cla"] = "application/​vnd.claymore";106MimeType[".c4g,.c4d,.c4f,.c4p,.c4u"] = "application/​vnd.clonk.c4group";107MimeType[".csp"] = "application/​vnd.commonspace";108MimeType[".cdbcmsg"] = "application/​vnd.contact.cmsg";109MimeType[".cmc"] = "application/​vnd.cosmocaller";110MimeType[".clkx"] = "application/​vnd.crick.clicker";111MimeType[".clkk"] = "application/​vnd.crick.clicker.keyboard";112MimeType[".clkp"] = "application/​vnd.crick.clicker.palette";113MimeType[".clkt"] = "application/​vnd.crick.clicker.template";114MimeType[".clkw"] = "application/​vnd.crick.clicker.wordbank";115MimeType[".wbs"] = "application/​vnd.criticaltools.wbs+xml";116MimeType[".pml"] = "application/​vnd.ctc-posml";117MimeType[".ppd"] = "application/​vnd.cups-ppd";118MimeType[".car"] = "application/​vnd.curl.car";119MimeType[".pcurl"] = "application/​vnd.curl.pcurl";120MimeType[".rdz"] = "application/​vnd.data-vision.rdz";121MimeType[".fe_launch"] = "application/​vnd.denovo.fcselayout-link";122MimeType[".dna"] = "application/​vnd.dna";123MimeType[".mlp"] = "application/​vnd.dolby.mlp";124MimeType[".dpg"] = "application/​vnd.dpgraph";125MimeType[".dfac"] = "application/​vnd.dreamfactory";126MimeType[".geo"] = "application/​vnd.dynageo";127MimeType[".mag"] = "application/​vnd.ecowin.chart";128MimeType[".nml"] = "application/​vnd.enliven";129MimeType[".esf"] = "application/​vnd.epson.esf";130MimeType[".msf"] = "application/​vnd.epson.msf";131MimeType[".qam"] = "application/​vnd.epson.quickanime";132MimeType[".slt"] = "application/​vnd.epson.salt";133MimeType[".ssf"] = "application/​vnd.epson.ssf";134MimeType[".es3,.et3"] = "application/​vnd.eszigno3+xml";135MimeType[".ez2"] = "application/​vnd.ezpix-album";136MimeType[".ez3"] = "application/​vnd.ezpix-package";137MimeType[".fdf"] = "application/​vnd.fdf";138MimeType[".mseed"] = "application/​vnd.fdsn.mseed";139MimeType[".seed,.dataless"] = "application/​vnd.fdsn.seed";140MimeType[".gph"] = "application/​vnd.flographit";141MimeType[".ftc"] = "application/​vnd.fluxtime.clip";142MimeType[".fm,.frame,.maker,.book"] = "application/​vnd.framemaker";143MimeType[".fnc"] = "application/​vnd.frogans.fnc";144MimeType[".ltf"] = "application/​vnd.frogans.ltf";145MimeType[".fsc"] = "application/​vnd.fsc.weblaunch";146MimeType[".oas"] = "application/​vnd.fujitsu.oasys";147MimeType[".oa2"] = "application/​vnd.fujitsu.oasys2";148MimeType[".oa3"] = "application/​vnd.fujitsu.oasys3";149MimeType[".fg5"] = "application/​vnd.fujitsu.oasysgp";150MimeType[".bh2"] = "application/​vnd.fujitsu.oasysprs";151MimeType[".ddd"] = "application/​vnd.fujixerox.ddd";152MimeType[".xdw"] = "application/​vnd.fujixerox.docuworks";153MimeType[".xbd"] = "application/​vnd.fujixerox.docuworks.binder";154MimeType[".fzs"] = "application/​vnd.fuzzysheet";155MimeType[".txd"] = "application/​vnd.genomatix.tuxedo";156MimeType[".ggb"] = "application/​vnd.geogebra.file";157MimeType[".ggt"] = "application/​vnd.geogebra.tool";158MimeType[".gex,.gre"] = "application/​vnd.geometry-explorer";159MimeType[".gmx"] = "application/​vnd.gmx";160MimeType[".kml"] = "application/​vnd.google-earth.kml+xml";161MimeType[".kmz"] = "application/​vnd.google-earth.kmz";162MimeType[".gqf,.gqs"] = "application/​vnd.grafeq";163MimeType[".gac"] = "application/​vnd.groove-account";164MimeType[".ghf"] = "application/​vnd.groove-help";165MimeType[".gim"] = "application/​vnd.groove-identity-message";166MimeType[".grv"] = "application/​vnd.groove-injector";167MimeType[".gtm"] = "application/​vnd.groove-tool-message";168MimeType[".tpl"] = "application/​vnd.groove-tool-template";169MimeType[".vcg"] = "application/​vnd.groove-vcard";170MimeType[".zmm"] = "application/​vnd.handheld-entertainment+xml";171MimeType[".hbci"] = "application/​vnd.hbci";172MimeType[".les"] = "application/​vnd.hhe.lesson-player";173MimeType[".hpgl"] = "application/​vnd.hp-hpgl";174MimeType[".hpid"] = "application/​vnd.hp-hpid";175MimeType[".hps"] = "application/​vnd.hp-hps";176MimeType[".jlt"] = "application/​vnd.hp-jlyt";177MimeType[".pcl"] = "application/​vnd.hp-pcl";178MimeType[".pclxl"] = "application/​vnd.hp-pclxl";179MimeType[".sfd-hdstx"] = "application/​vnd.hydrostatix.sof-data";180MimeType[".x3d"] = "application/​vnd.hzn-3d-crossword";181MimeType[".mpy"] = "application/​vnd.ibm.minipay";182MimeType[".afp,.listafp,.list3820"] = "application/​vnd.ibm.modcap";183MimeType[".irm"] = "application/​vnd.ibm.rights-management";184MimeType[".sc"] = "application/​vnd.ibm.secure-container";185MimeType[".icc,.icm"] = "application/​vnd.iccprofile";186MimeType[".igl"] = "application/​vnd.igloader";187MimeType[".ivp"] = "application/​vnd.immervision-ivp";188MimeType[".ivu"] = "application/​vnd.immervision-ivu";189MimeType[".xpw,.xpx"] = "application/​vnd.intercon.formnet";190MimeType[".qbo"] = "application/​vnd.intu.qbo";191MimeType[".qfx"] = "application/​vnd.intu.qfx";192MimeType[".rcprofile"] = "application/​vnd.ipunplugged.rcprofile";193MimeType[".irp"] = "application/​vnd.irepository.package+xml";194MimeType[".xpr"] = "application/​vnd.is-xpr";195MimeType[".jam"] = "application/​vnd.jam";196MimeType[".rms"] = "application/​vnd.jcp.javame.midlet-rms";197MimeType[".jisp"] = "application/​vnd.jisp";198MimeType[".joda"] = "application/​vnd.joost.joda-archive";199MimeType[".ktz,.ktr"] = "application/​vnd.kahootz";200MimeType[".karbon"] = "application/​vnd.kde.karbon";201MimeType[".chrt"] = "application/​vnd.kde.kchart";202MimeType[".kfo"] = "application/​vnd.kde.kformula";203MimeType[".flw"] = "application/​vnd.kde.kivio";204MimeType[".kon"] = "application/​vnd.kde.kontour";205MimeType[".kpr,.kpt"] = "application/​vnd.kde.kpresenter";206MimeType[".ksp"] = "application/​vnd.kde.kspread";207MimeType[".kwd,.kwt"] = "application/​vnd.kde.kword";208MimeType[".htke"] = "application/​vnd.kenameaapp";209MimeType[".kia"] = "application/​vnd.kidspiration";210MimeType[".kne,.knp"] = "application/​vnd.kinar";211MimeType[".skp,.skd,.skt,.skm"] = "application/​vnd.koan";212MimeType[".sse"] = "application/​vnd.kodak-descriptor";213MimeType[".lbd"] = "application/​vnd.llamagraphics.life-balance.desktop";214MimeType[".lbe"] = "application/​vnd.llamagraphics.life-balance.exchange+xml";215MimeType[".123"] = "application/​vnd.lotus-1-2-3";216MimeType[".apr"] = "application/​vnd.lotus-approach";217MimeType[".pre"] = "application/​vnd.lotus-freelance";218MimeType[".nsf"] = "application/​vnd.lotus-notes";219MimeType[".org"] = "application/​vnd.lotus-organizer";220MimeType[".scm"] = "application/​vnd.lotus-screencam";221MimeType[".lwp"] = "application/​vnd.lotus-wordpro";222MimeType[".portpkg"] = "application/​vnd.macports.portpkg";223MimeType[".mcd"] = "application/​vnd.mcd";224MimeType[".mc1"] = "application/​vnd.medcalcdata";225MimeType[".cdkey"] = "application/​vnd.mediastation.cdkey";226MimeType[".mwf"] = "application/​vnd.mfer";227MimeType[".mfm"] = "application/​vnd.mfmp";228MimeType[".flo"] = "application/​vnd.micrografx.flo";229MimeType[".igx"] = "application/​vnd.micrografx.igx";230MimeType[".mif"] = "application/​vnd.mif";231MimeType[".daf"] = "application/​vnd.mobius.daf";232MimeType[".dis"] = "application/​vnd.mobius.dis";233MimeType[".mbk"] = "application/​vnd.mobius.mbk";234MimeType[".mqy"] = "application/​vnd.mobius.mqy";235MimeType[".msl"] = "application/​vnd.mobius.msl";236MimeType[".plc"] = "application/​vnd.mobius.plc";237MimeType[".txf"] = "application/​vnd.mobius.txf";238MimeType[".mpn"] = "application/​vnd.mophun.application";239MimeType[".mpc"] = "application/​vnd.mophun.certificate";240MimeType[".xul"] = "application/​vnd.mozilla.xul+xml";241MimeType[".cil"] = "application/​vnd.ms-artgalry";242MimeType[".cab"] = "application/​vnd.ms-cab-compressed";243MimeType[".xls,.xlm,.xla,.xlc,.xlt,.xlw"] = "application/​vnd.ms-excel";244MimeType[".xlam"] = "application/​vnd.ms-excel.addin.macroenabled.12";245MimeType[".xlsb"] = "application/​vnd.ms-excel.sheet.binary.macroenabled.12";246MimeType[".xlsm"] = "application/​vnd.ms-excel.sheet.macroenabled.12";247MimeType[".xltm"] = "application/​vnd.ms-excel.template.macroenabled.12";248MimeType[".eot"] = "application/​vnd.ms-fontobject";249MimeType[".chm"] = "application/​vnd.ms-htmlhelp";250MimeType[".ims"] = "application/​vnd.ms-ims";251MimeType[".lrm"] = "application/​vnd.ms-lrm";252MimeType[".cat"] = "application/​vnd.ms-pki.seccat";253MimeType[".stl"] = "application/​vnd.ms-pki.stl";254MimeType[".ppt,.pps,.pot"] = "application/​vnd.ms-powerpoint";255MimeType[".ppam"] = "application/​vnd.ms-powerpoint.addin.macroenabled.12";256MimeType[".pptm"] = "application/​vnd.ms-powerpoint.presentation.macroenabled.12";257MimeType[".sldm"] = "application/​vnd.ms-powerpoint.slide.macroenabled.12";258MimeType[".ppsm"] = "application/​vnd.ms-powerpoint.slideshow.macroenabled.12";259MimeType[".potm"] = "application/​vnd.ms-powerpoint.template.macroenabled.12";260MimeType[".mpp,.mpt"] = "application/​vnd.ms-project";261MimeType[".docm"] = "application/​vnd.ms-word.document.macroenabled.12";262MimeType[".dotm"] = "application/​vnd.ms-word.template.macroenabled.12";263MimeType[".wps,.wks,.wcm,.wdb"] = "application/​vnd.ms-works";264MimeType[".wpl"] = "application/​vnd.ms-wpl";265MimeType[".xps"] = "application/​vnd.ms-xpsdocument";266MimeType[".mseq"] = "application/​vnd.mseq";267MimeType[".mus"] = "application/​vnd.musician";268MimeType[".msty"] = "application/​vnd.muvee.style";269MimeType[".nlu"] = "application/​vnd.neurolanguage.nlu";270MimeType[".nnd"] = "application/​vnd.noblenet-directory";271MimeType[".nns"] = "application/​vnd.noblenet-sealer";272MimeType[".nnw"] = "application/​vnd.noblenet-web";273MimeType[".ngdat"] = "application/​vnd.nokia.n-gage.data";274MimeType[".n-gage"] = "application/​vnd.nokia.n-gage.symbian.install";275MimeType[".rpst"] = "application/​vnd.nokia.radio-preset";276MimeType[".rpss"] = "application/​vnd.nokia.radio-presets";277MimeType[".edm"] = "application/​vnd.novadigm.edm";278MimeType[".edx"] = "application/​vnd.novadigm.edx";279MimeType[".ext"] = "application/​vnd.novadigm.ext";280MimeType[".odc"] = "application/​vnd.oasis.opendocument.chart";281MimeType[".otc"] = "application/​vnd.oasis.opendocument.chart-template";282MimeType[".odb"] = "application/​vnd.oasis.opendocument.database";283MimeType[".odf"] = "application/​vnd.oasis.opendocument.formula";284MimeType[".odft"] = "application/​vnd.oasis.opendocument.formula-template";285MimeType[".odg"] = "application/​vnd.oasis.opendocument.graphics";286MimeType[".otg"] = "application/​vnd.oasis.opendocument.graphics-template";287MimeType[".odi"] = "application/​vnd.oasis.opendocument.image";288MimeType[".oti"] = "application/​vnd.oasis.opendocument.image-template";289MimeType[".odp"] = "application/​vnd.oasis.opendocument.presentation";290MimeType[".ods"] = "application/​vnd.oasis.opendocument.spreadsheet";291MimeType[".ots"] = "application/​vnd.oasis.opendocument.spreadsheet-template";292MimeType[".odt"] = "application/​vnd.oasis.opendocument.text";293MimeType[".otm"] = "application/​vnd.oasis.opendocument.text-master";294MimeType[".ott"] = "application/​vnd.oasis.opendocument.text-template";295MimeType[".oth"] = "application/​vnd.oasis.opendocument.text-web";296MimeType[".xo"] = "application/​vnd.olpc-sugar";297MimeType[".dd2"] = "application/​vnd.oma.dd2+xml";298MimeType[".oxt"] = "application/​vnd.openofficeorg.extension";299MimeType[".pptx"] = "application/​vnd.openxmlformats-officedocument.presentationml.presentation";300MimeType[".sldx"] = "application/​vnd.openxmlformats-officedocument.presentationml.slide";301MimeType[".ppsx"] = "application/​vnd.openxmlformats-officedocument.presentationml.slideshow";302MimeType[".potx"] = "application/​vnd.openxmlformats-officedocument.presentationml.template";303MimeType[".xlsx"] = "application/​vnd.openxmlformats-officedocument.spreadsheetml.sheet";304MimeType[".xltx"] = "application/​vnd.openxmlformats-officedocument.spreadsheetml.template";305MimeType[".docx"] = "application/​vnd.openxmlformats-officedocument.wordprocessingml.document";306MimeType[".dotx"] = "application/​vnd.openxmlformats-officedocument.wordprocessingml.template";307MimeType[".dp"] = "application/​vnd.osgi.dp";308MimeType[".pdb,.pqa,.oprc"] = "application/​vnd.palm";309MimeType[".str"] = "application/​vnd.pg.format";310MimeType[".ei6"] = "application/​vnd.pg.osasli";311MimeType[".efif"] = "application/​vnd.picsel";312MimeType[".plf"] = "application/​vnd.pocketlearn";313MimeType[".pbd"] = "application/​vnd.powerbuilder6";314MimeType[".box"] = "application/​vnd.previewsystems.box";315MimeType[".mgz"] = "application/​vnd.proteus.magazine";316MimeType[".qps"] = "application/​vnd.publishare-delta-tree";317MimeType[".ptid"] = "application/​vnd.pvi.ptid1";318MimeType[".qxd,.qxt,.qwd,.qwt,.qxl,.qxb"] = "application/​vnd.quark.quarkxpress";319MimeType[".mxl"] = "application/​vnd.recordare.musicxml";320MimeType[".musicxml"] = "application/​vnd.recordare.musicxml+xml";321MimeType[".cod"] = "application/​vnd.rim.cod";322MimeType[".rm"] = "application/​vnd.rn-realmedia";323MimeType[".link66"] = "application/​vnd.route66.link66+xml";324MimeType[".see"] = "application/​vnd.seemail";325MimeType[".sema"] = "application/​vnd.sema";326MimeType[".semd"] = "application/​vnd.semd";327MimeType[".semf"] = "application/​vnd.semf";328MimeType[".ifm"] = "application/​vnd.shana.informed.formdata";329MimeType[".itp"] = "application/​vnd.shana.informed.formtemplate";330MimeType[".iif"] = "application/​vnd.shana.informed.interchange";331MimeType[".ipk"] = "application/​vnd.shana.informed.package";332MimeType[".twd,.twds"] = "application/​vnd.simtech-mindmapper";333MimeType[".mmf"] = "application/​vnd.smaf";334MimeType[".teacher"] = "application/​vnd.smart.teacher";335MimeType[".sdkm,.sdkd"] = "application/​vnd.solent.sdkm+xml";336MimeType[".dxp"] = "application/​vnd.spotfire.dxp";337MimeType[".sfs"] = "application/​vnd.spotfire.sfs";338MimeType[".sdc"] = "application/​vnd.stardivision.calc";339MimeType[".sda"] = "application/​vnd.stardivision.draw";340MimeType[".sdd"] = "application/​vnd.stardivision.impress";341MimeType[".smf"] = "application/​vnd.stardivision.math";342MimeType[".sdw"] = "application/​vnd.stardivision.writer";343MimeType[".vor"] = "application/​vnd.stardivision.writer";344MimeType[".sgl"] = "application/​vnd.stardivision.writer-global";345MimeType[".sxc"] = "application/​vnd.sun.xml.calc";346MimeType[".stc"] = "application/​vnd.sun.xml.calc.template";347MimeType[".sxd"] = "application/​vnd.sun.xml.draw";348MimeType[".std"] = "application/​vnd.sun.xml.draw.template";349MimeType[".sxi"] = "application/​vnd.sun.xml.impress";350MimeType[".sti"] = "application/​vnd.sun.xml.impress.template";351MimeType[".sxm"] = "application/​vnd.sun.xml.math";352MimeType[".sxw"] = "application/​vnd.sun.xml.writer";353MimeType[".sxg"] = "application/​vnd.sun.xml.writer.global";354MimeType[".stw"] = "application/​vnd.sun.xml.writer.template";355MimeType[".sus,.susp"] = "application/​vnd.sus-calendar";356MimeType[".svd"] = "application/​vnd.svd";357MimeType[".sis,.sisx"] = "application/​vnd.symbian.install";358MimeType[".xsm"] = "application/​vnd.syncml+xml";359MimeType[".bdm"] = "application/​vnd.syncml.dm+wbxml";360MimeType[".xdm"] = "application/​vnd.syncml.dm+xml";361MimeType[".tao"] = "application/​vnd.tao.intent-module-archive";362MimeType[".tmo"] = "application/​vnd.tmobile-livetv";363MimeType[".tpt"] = "application/​vnd.trid.tpt";364MimeType[".mxs"] = "application/​vnd.triscape.mxs";365MimeType[".tra"] = "application/​vnd.trueapp";366MimeType[".ufd,.ufdl"] = "application/​vnd.ufdl";367MimeType[".utz"] = "application/​vnd.uiq.theme";368MimeType[".umj"] = "application/​vnd.umajin";369MimeType[".unityweb"] = "application/​vnd.unity";370MimeType[".uoml"] = "application/​vnd.uoml+xml";371MimeType[".vcx"] = "application/​vnd.vcx";372MimeType[".vsd,.vst,.vss,.vsw"] = "application/​vnd.visio";373MimeType[".vis"] = "application/​vnd.visionary";374MimeType[".vsf"] = "application/​vnd.vsf";375MimeType[".wbxml"] = "application/​vnd.wap.wbxml";376MimeType[".wmlc"] = "application/​vnd.wap.wmlc";377MimeType[".wmlsc"] = "application/​vnd.wap.wmlscriptc";378MimeType[".wtb"] = "application/​vnd.webturbo";379MimeType[".wpd"] = "application/​vnd.wordperfect";380MimeType[".wqd"] = "application/​vnd.wqd";381MimeType[".stf"] = "application/​vnd.wt.stf";382MimeType[".xar"] = "application/​vnd.xara";383MimeType[".xfdl"] = "application/​vnd.xfdl";384MimeType[".hvd"] = "application/​vnd.yamaha.hv-dic";385MimeType[".hvs"] = "application/​vnd.yamaha.hv-script";386MimeType[".hvp"] = "application/​vnd.yamaha.hv-voice";387MimeType[".osf"] = "application/​vnd.yamaha.openscoreformat";388MimeType[".osfpvg"] = "application/​vnd.yamaha.openscoreformat.osfpvg+xml";389MimeType[".saf"] = "application/​vnd.yamaha.smaf-audio";390MimeType[".spf"] = "application/​vnd.yamaha.smaf-phrase";391MimeType[".cmp"] = "application/​vnd.yellowriver-custom-menu";392MimeType[".zir,.zirz"] = "application/​vnd.zul";393MimeType[".zaz"] = "application/​vnd.zzazz.deck+xml";394MimeType[".vxml"] = "application/​voicexml+xml";395MimeType[".hlp"] = "application/​winhlp";396MimeType[".wsdl"] = "application/​wsdl+xml";397MimeType[".wspolicy"] = "application/​wspolicy+xml";398MimeType[".abw"] = "application/​x-abiword";399MimeType[".ace"] = "application/​x-ace-compressed";400MimeType[".aab,.x32,.u32,.vox"] = "application/​x-authorware-bin";401MimeType[".aam"] = "application/​x-authorware-map";402MimeType[".aas"] = "application/​x-authorware-seg";403MimeType[".bcpio"] = "application/​x-bcpio";404MimeType[".torrent"] = "application/​x-bittorrent";405MimeType[".bz"] = "application/​x-bzip";406MimeType[".bz2,.boz"] = "application/​x-bzip2";407MimeType[".vcd"] = "application/​x-cdlink";408MimeType[".chat"] = "application/​x-chat";409MimeType[".pgn"] = "application/​x-chess-pgn";410MimeType[".cpio"] = "application/​x-cpio";411MimeType[".csh"] = "application/​x-csh";412MimeType[".deb,.udeb"] = "application/​x-debian-package";413MimeType[".dir,.dcr,.dxr,.cst,.cct,.cxt,.w3d,.fgd,.swa"] = "application/​x-director";414MimeType[".wad"] = "application/​x-doom";415MimeType[".ncx"] = "application/​x-dtbncx+xml";416MimeType[".dtb"] = "application/​x-dtbook+xml";417MimeType[".res"] = "application/​x-dtbresource+xml";418MimeType[".dvi"] = "application/​x-dvi";419MimeType[".bdf"] = "application/​x-font-bdf";420MimeType[".gsf"] = "application/​x-font-ghostscript";421MimeType[".psf"] = "application/​x-font-linux-psf";422MimeType[".otf"] = "application/​x-font-otf";423MimeType[".pcf"] = "application/​x-font-pcf";424MimeType[".snf"] = "application/​x-font-snf";425MimeType[".ttf,.ttc"] = "application/​x-font-ttf";426MimeType[".woff"] = "application/​font-woff";427MimeType[".pfa,.pfb,.pfm,.afm"] = "application/​x-font-type1";428MimeType[".spl"] = "application/​x-futuresplash";429MimeType[".gnumeric"] = "application/​x-gnumeric";430MimeType[".gtar"] = "application/​x-gtar";431MimeType[".hdf"] = "application/​x-hdf";432MimeType[".jnlp"] = "application/​x-java-jnlp-file";433MimeType[".latex"] = "application/​x-latex";434MimeType[".prc,.mobi"] = "application/​x-mobipocket-ebook";435MimeType[".application"] = "application/​x-ms-application";436MimeType[".wmd"] = "application/​x-ms-wmd";437MimeType[".wmz"] = "application/​x-ms-wmz";438MimeType[".xbap"] = "application/​x-ms-xbap";439MimeType[".mdb"] = "application/​x-msaccess";440MimeType[".obd"] = "application/​x-msbinder";441MimeType[".crd"] = "application/​x-mscardfile";442MimeType[".clp"] = "application/​x-msclip";443MimeType[".exe,.dll,.com,.bat,.msi"] = "application/​x-msdownload";444MimeType[".mvb,.m13,.m14"] = "application/​x-msmediaview";445MimeType[".wmf"] = "application/​x-msmetafile";446MimeType[".mny"] = "application/​x-msmoney";447MimeType[".pub"] = "application/​x-mspublisher";448MimeType[".scd"] = "application/​x-msschedule";449MimeType[".trm"] = "application/​x-msterminal";450MimeType[".wri"] = "application/​x-mswrite";451MimeType[".nc,.cdf"] = "application/​x-netcdf";452MimeType[".p12,.pfx"] = "application/​x-pkcs12";453MimeType[".p7b,.spc"] = "application/​x-pkcs7-certificates";454MimeType[".p7r"] = "application/​x-pkcs7-certreqresp";455MimeType[".rar"] = "application/​x-rar-compressed";456MimeType[".sh"] = "application/​x-sh";457MimeType[".shar"] = "application/​x-shar";458MimeType[".swf"] = "application/​x-shockwave-flash";459MimeType[".xap"] = "application/​x-silverlight-app";460MimeType[".sit"] = "application/​x-stuffit";461MimeType[".sitx"] = "application/​x-stuffitx";462MimeType[".sv4cpio"] = "application/​x-sv4cpio";463MimeType[".sv4crc"] = "application/​x-sv4crc";464MimeType[".tar"] = "application/​x-tar";465MimeType[".tcl"] = "application/​x-tcl";466MimeType[".tex"] = "application/​x-tex";467MimeType[".tfm"] = "application/​x-tex-tfm";468MimeType[".texinfo,.texi"] = "application/​x-texinfo";469MimeType[".ustar"] = "application/​x-ustar";470MimeType[".src"] = "application/​x-wais-source";471MimeType[".der,.crt"] = "application/​x-x509-ca-cert";472MimeType[".fig"] = "application/​x-xfig";473MimeType[".xpi"] = "application/​x-xpinstall";474MimeType[".xenc"] = "application/​xenc+xml";475MimeType[".xhtml,.xht"] = "application/​xhtml+xml";476MimeType[".xml,.xsl"] = "application/​xml";477MimeType[".dtd"] = "application/​xml-dtd";478MimeType[".xop"] = "application/​xop+xml";479MimeType[".xslt"] = "application/​xslt+xml";480MimeType[".xspf"] = "application/​xspf+xml";481MimeType[".mxml,.xhvml,.xvml,.xvm"] = "application/​xv+xml";482MimeType[".zip"] = "application/​zip";483MimeType[".adp"] = "audio/​adpcm";484MimeType[".au,.snd"] = "audio/​basic";485MimeType[".mid,.midi,.kar,.rmi"] = "audio/​midi";486MimeType[".mp4a"] = "audio/​mp4";487MimeType[".m4a,.m4p"] = "audio/​mp4a-latm";488MimeType[".mpga,.mp2,.mp2a,.mp3,.m2a,.m3a"] = "audio/​mpeg";489MimeType[".oga,.ogg,.spx"] = "audio/​ogg";490MimeType[".eol"] = "audio/​vnd.digital-winds";491MimeType[".dts"] = "audio/​vnd.dts";492MimeType[".dtshd"] = "audio/​vnd.dts.hd";493MimeType[".lvp"] = "audio/​vnd.lucent.voice";494MimeType[".pya"] = "audio/​vnd.ms-playready.media.pya";495MimeType[".ecelp4800"] = "audio/​vnd.nuera.ecelp4800";496MimeType[".ecelp7470"] = "audio/​vnd.nuera.ecelp7470";497MimeType[".ecelp9600"] = "audio/​vnd.nuera.ecelp9600";498MimeType[".aac"] = "audio/​x-aac";499MimeType[".aif,.aiff,.aifc"] = "audio/​x-aiff";500MimeType[".m3u"] = "audio/​x-mpegurl";501MimeType[".wax"] = "audio/​x-ms-wax";502MimeType[".wma"] = "audio/​x-ms-wma";503MimeType[".ram,.ra"] = "audio/​x-pn-realaudio";504MimeType[".rmp"] = "audio/​x-pn-realaudio-plugin";505MimeType[".wav"] = "audio/​x-wav";506MimeType[".cdx"] = "chemical/​x-cdx";507MimeType[".cif"] = "chemical/​x-cif";508MimeType[".cmdf"] = "chemical/​x-cmdf";509MimeType[".cml"] = "chemical/​x-cml";510MimeType[".csml"] = "chemical/​x-csml";511MimeType[".xyz"] = "chemical/​x-xyz";512MimeType[".bmp"] = "image/​bmp";513MimeType[".cgm"] = "image/​cgm";514MimeType[".g3"] = "image/​g3fax";515MimeType[".gif"] = "image/​gif";516MimeType[".ief"] = "image/​ief";517MimeType[".jp2"] = "image/​jp2";518MimeType[".jpeg,.jpg,.jpe"] = "image/​jpeg";519MimeType[".pict,.pic,.pct"] = "image/​pict";520MimeType[".png"] = "image/​png";521MimeType[".btif"] = "image/​prs.btif";522MimeType[".svg,.svgz"] = "image/​svg+xml";523MimeType[".tiff,.tif"] = "image/​tiff";524MimeType[".psd"] = "image/​vnd.adobe.photoshop";525MimeType[".djvu,.djv"] = "image/​vnd.djvu";526MimeType[".dwg"] = "image/​vnd.dwg";527MimeType[".dxf"] = "image/​vnd.dxf";528MimeType[".fbs"] = "image/​vnd.fastbidsheet";529MimeType[".fpx"] = "image/​vnd.fpx";530MimeType[".fst"] = "image/​vnd.fst";531MimeType[".mmr"] = "image/​vnd.fujixerox.edmics-mmr";532MimeType[".rlc"] = "image/​vnd.fujixerox.edmics-rlc";533MimeType[".mdi"] = "image/​vnd.ms-modi";534MimeType[".npx"] = "image/​vnd.net-fpx";535MimeType[".wbmp"] = "image/​vnd.wap.wbmp";536MimeType[".xif"] = "image/​vnd.xiff";537MimeType[".ras"] = "image/​x-cmu-raster";538MimeType[".cmx"] = "image/​x-cmx";539MimeType[".fh,.fhc,.fh4,.fh5,.fh7"] = "image/​x-freehand";540MimeType[".ico"] = "image/​x-icon";541MimeType[".pntg,.pnt,.mac"] = "image/​x-macpaint";542MimeType[".pcx"] = "image/​x-pcx";543/​/​MimeType[".pic,.pct"] = "image/​x-pict";544MimeType[".pnm"] = "image/​x-portable-anymap";545MimeType[".pbm"] = "image/​x-portable-bitmap";546MimeType[".pgm"] = "image/​x-portable-graymap";547MimeType[".ppm"] = "image/​x-portable-pixmap";548MimeType[".qtif,.qti"] = "image/​x-quicktime";549MimeType[".rgb"] = "image/​x-rgb";550MimeType[".xbm"] = "image/​x-xbitmap";551MimeType[".xpm"] = "image/​x-xpixmap";552MimeType[".xwd"] = "image/​x-xwindowdump";553MimeType[".eml,.mime"] = "message/​rfc822";554MimeType[".igs,.iges"] = "model/​iges";555MimeType[".msh,.mesh,.silo"] = "model/​mesh";556MimeType[".dwf"] = "model/​vnd.dwf";557MimeType[".gdl"] = "model/​vnd.gdl";558MimeType[".gtw"] = "model/​vnd.gtw";559MimeType[".mts"] = "model/​vnd.mts";560MimeType[".vtu"] = "model/​vnd.vtu";561MimeType[".wrl,.vrml"] = "model/​vrml";562MimeType[".ics,.ifb"] = "text/​calendar";563MimeType[".css"] = "text/​css";564MimeType[".csv"] = "text/​csv";565MimeType[".html,.htm"] = "text/​html";566MimeType[".txt,.text,.conf,.def,.list,.log,.in"] = "text/​plain";567MimeType[".dsc"] = "text/​prs.lines.tag";568MimeType[".rtx"] = "text/​richtext";569MimeType[".sgml,.sgm"] = "text/​sgml";570MimeType[".tsv"] = "text/​tab-separated-values";571MimeType[".t,.tr,.roff,.man,.me,.ms"] = "text/​troff";572MimeType[".uri,.uris,.urls"] = "text/​uri-list";573MimeType[".curl"] = "text/​vnd.curl";574MimeType[".dcurl"] = "text/​vnd.curl.dcurl";575MimeType[".scurl"] = "text/​vnd.curl.scurl";576MimeType[".mcurl"] = "text/​vnd.curl.mcurl";577MimeType[".fly"] = "text/​vnd.fly";578MimeType[".flx"] = "text/​vnd.fmi.flexstor";579MimeType[".gv"] = "text/​vnd.graphviz";580MimeType[".3dml"] = "text/​vnd.in3d.3dml";581MimeType[".spot"] = "text/​vnd.in3d.spot";582MimeType[".jad"] = "text/​vnd.sun.j2me.app-descriptor";583MimeType[".wml"] = "text/​vnd.wap.wml";584MimeType[".wmls"] = "text/​vnd.wap.wmlscript";585MimeType[".s,.asm"] = "text/​x-asm";586MimeType[".c,.cc,.cxx,.cpp,.h,.hh,.dic"] = "text/​x-c";587MimeType[".f,.for,.f77,.f90"] = "text/​x-fortran";588MimeType[".p,.pas"] = "text/​x-pascal";589MimeType[".java"] = "text/​x-java-source";590MimeType[".etx"] = "text/​x-setext";591MimeType[".uu"] = "text/​x-uuencode";592MimeType[".vcs"] = "text/​x-vcalendar";593MimeType[".vcf"] = "text/​x-vcard";594MimeType[".3gp"] = "video/​3gpp";595MimeType[".3g2"] = "video/​3gpp2";596MimeType[".h261"] = "video/​h261";597MimeType[".h263"] = "video/​h263";598MimeType[".h264"] = "video/​h264";599MimeType[".jpgv"] = "video/​jpeg";600MimeType[".jpm,.jpgm"] = "video/​jpm";601MimeType[".mj2,.mjp2"] = "video/​mj2";602MimeType[".mp4,.mp4v,.mpg4,.m4v"] = "video/​mp4";603MimeType[".webm"] = "video/​webm";604MimeType[".mpeg,.mpg,.mpe,.m1v,.m2v"] = "video/​mpeg";605MimeType[".ogv"] = "video/​ogg";606MimeType[".qt,.mov"] = "video/​quicktime";607MimeType[".fvt"] = "video/​vnd.fvt";608MimeType[".mxu,.m4u"] = "video/​vnd.mpegurl";609MimeType[".pyv"] = "video/​vnd.ms-playready.media.pyv";610MimeType[".viv"] = "video/​vnd.vivo";611MimeType[".dv,.dif"] = "video/​x-dv";612MimeType[".f4v"] = "video/​x-f4v";613MimeType[".fli"] = "video/​x-fli";614MimeType[".flv"] = "video/​x-flv";615/​/​MimeType[".m4v"] = "video/​x-m4v";616MimeType[".asf,.asx"] = "video/​x-ms-asf";617MimeType[".wm"] = "video/​x-ms-wm";618MimeType[".wmv"] = "video/​x-ms-wmv";619MimeType[".wmx"] = "video/​x-ms-wmx";620MimeType[".wvx"] = "video/​x-ms-wvx";621MimeType[".avi"] = "video/​x-msvideo";622MimeType[".movie"] = "video/​x-sgi-movie"; ...

Full Screen

Full Screen

meta.js

Source: meta.js Github

copy

Full Screen

1CodeMirror.modeInfo = [2 {name: 'APL', mime: 'text/​apl', mode: 'apl'},3 {name: 'Asterisk', mime: 'text/​x-asterisk', mode: 'asterisk'},4 {name: 'C', mime: 'text/​x-csrc', mode: 'clike'},5 {name: 'C++', mime: 'text/​x-c++src', mode: 'clike'},6 {name: 'Cobol', mime: 'text/​x-cobol', mode: 'cobol'},7 {name: 'Java', mime: 'text/​x-java', mode: 'clike'},8 {name: 'C#', mime: 'text/​x-csharp', mode: 'clike'},9 {name: 'Scala', mime: 'text/​x-scala', mode: 'clike'},10 {name: 'Clojure', mime: 'text/​x-clojure', mode: 'clojure'},11 {name: 'CoffeeScript', mime: 'text/​x-coffeescript', mode: 'coffeescript'},12 {name: 'Common Lisp', mime: 'text/​x-common-lisp', mode: 'commonlisp'},13 {name: 'CSS', mime: 'text/​css', mode: 'css'},14 {name: 'D', mime: 'text/​x-d', mode: 'd'},15 {name: 'diff', mime: 'text/​x-diff', mode: 'diff'},16 {name: 'DTD', mime: 'application/​xml-dtd', mode: 'dtd'},17 {name: 'ECL', mime: 'text/​x-ecl', mode: 'ecl'},18 {name: 'Eiffel', mime: 'text/​x-eiffel', mode: 'eiffel'},19 {name: 'Erlang', mime: 'text/​x-erlang', mode: 'erlang'},20 {name: 'Fortran', mime: 'text/​x-fortran', mode: 'fortran'},21 {name: 'F#', mime: 'text/​x-fsharp', mode: 'mllike'},22 {name: 'Gas', mime: 'text/​x-gas', mode: 'gas'},23 {name: 'Gherkin', mime: 'text/​x-feature', mode: 'gherkin'},24 {name: 'GitHub Flavored Markdown', mime: 'text/​x-gfm', mode: 'gfm'},25 {name: 'Go', mime: 'text/​x-go', mode: 'go'},26 {name: 'Groovy', mime: 'text/​x-groovy', mode: 'groovy'},27 {name: 'HAML', mime: 'text/​x-haml', mode: 'haml'},28 {name: 'Haskell', mime: 'text/​x-haskell', mode: 'haskell'},29 {name: 'Haxe', mime: 'text/​x-haxe', mode: 'haxe'},30 {name: 'ASP.NET', mime: 'application/​x-aspx', mode: 'htmlembedded'},31 {name: 'Embedded Javascript', mime: 'application/​x-ejs', mode: 'htmlembedded'},32 {name: 'JavaServer Pages', mime: 'application/​x-jsp', mode: 'htmlembedded'},33 {name: 'HTML', mime: 'text/​html', mode: 'htmlmixed'},34 {name: 'HTTP', mime: 'message/​http', mode: 'http'},35 {name: 'Jade', mime: 'text/​x-jade', mode: 'jade'},36 {name: 'JavaScript', mime: 'text/​javascript', mode: 'javascript'},37 {name: 'JSON', mime: 'application/​x-json', mode: 'javascript'},38 {name: 'JSON', mime: 'application/​json', mode: 'javascript'},39 {name: 'TypeScript', mime: 'application/​typescript', mode: 'javascript'},40 {name: 'Jinja2', mime: null, mode: 'jinja2'},41 {name: 'Julia', mime: 'text/​x-julia', mode: 'julia'},42 {name: 'LESS', mime: 'text/​x-less', mode: 'less'},43 {name: 'LiveScript', mime: 'text/​x-livescript', mode: 'livescript'},44 {name: 'Lua', mime: 'text/​x-lua', mode: 'lua'},45 {name: 'Markdown (GitHub-flavour)', mime: 'text/​x-markdown', mode: 'markdown'},46 {name: 'mIRC', mime: 'text/​mirc', mode: 'mirc'},47 {name: 'Nginx', mime: 'text/​x-nginx-conf', mode: 'nginx'},48 {name: 'NTriples', mime: 'text/​n-triples', mode: 'ntriples'},49 {name: 'OCaml', mime: 'text/​x-ocaml', mode: 'mllike'},50 {name: 'Octave', mime: 'text/​x-octave', mode: 'octave'},51 {name: 'Pascal', mime: 'text/​x-pascal', mode: 'pascal'},52 {name: 'PEG.js', mime: null, mode: 'pegjs'},53 {name: 'Perl', mime: 'text/​x-perl', mode: 'perl'},54 {name: 'PHP', mime: 'text/​x-php', mode: 'php'},55 {name: 'PHP(HTML)', mime: 'application/​x-httpd-php', mode: 'php'},56 {name: 'Pig', mime: 'text/​x-pig', mode: 'pig'},57 {name: 'Plain Text', mime: 'text/​plain', mode: 'null'},58 {name: 'Properties files', mime: 'text/​x-properties', mode: 'properties'},59 {name: 'Python', mime: 'text/​x-python', mode: 'python'},60 {name: 'Cython', mime: 'text/​x-cython', mode: 'python'},61 {name: 'R', mime: 'text/​x-rsrc', mode: 'r'},62 {name: 'reStructuredText', mime: 'text/​x-rst', mode: 'rst'},63 {name: 'Ruby', mime: 'text/​x-ruby', mode: 'ruby'},64 {name: 'Rust', mime: 'text/​x-rustsrc', mode: 'rust'},65 {name: 'Sass', mime: 'text/​x-sass', mode: 'sass'},66 {name: 'Scheme', mime: 'text/​x-scheme', mode: 'scheme'},67 {name: 'SCSS', mime: 'text/​x-scss', mode: 'css'},68 {name: 'Shell', mime: 'text/​x-sh', mode: 'shell'},69 {name: 'Sieve', mime: 'application/​sieve', mode: 'sieve'},70 {name: 'Smalltalk', mime: 'text/​x-stsrc', mode: 'smalltalk'},71 {name: 'Smarty', mime: 'text/​x-smarty', mode: 'smarty'},72 {name: 'SmartyMixed', mime: 'text/​x-smarty', mode: 'smartymixed'},73 {name: 'SPARQL', mime: 'application/​x-sparql-query', mode: 'sparql'},74 {name: 'SQL', mime: 'text/​x-sql', mode: 'sql'},75 {name: 'MariaDB', mime: 'text/​x-mariadb', mode: 'sql'},76 {name: 'sTeX', mime: 'text/​x-stex', mode: 'stex'},77 {name: 'LaTeX', mime: 'text/​x-latex', mode: 'stex'},78 {name: 'Tcl', mime: 'text/​x-tcl', mode: 'tcl'},79 {name: 'TiddlyWiki ', mime: 'text/​x-tiddlywiki', mode: 'tiddlywiki'},80 {name: 'Tiki wiki', mime: 'text/​tiki', mode: 'tiki'},81 {name: 'TOML', mime: 'text/​x-toml', mode: 'toml'},82 {name: 'Turtle', mime: 'text/​turtle', mode: 'turtle'},83 {name: 'VB.NET', mime: 'text/​x-vb', mode: 'vb'},84 {name: 'VBScript', mime: 'text/​vbscript', mode: 'vbscript'},85 {name: 'Velocity', mime: 'text/​velocity', mode: 'velocity'},86 {name: 'Verilog', mime: 'text/​x-verilog', mode: 'verilog'},87 {name: 'XML', mime: 'application/​xml', mode: 'xml'},88 {name: 'HTML', mime: 'text/​html', mode: 'xml'},89 {name: 'XQuery', mime: 'application/​xquery', mode: 'xquery'},90 {name: 'YAML', mime: 'text/​x-yaml', mode: 'yaml'},91 {name: 'Z80', mime: 'text/​x-z80', mode: 'z80'}...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('./​BestGlobals');2var mime = BestGlobals.mime;3console.log(mime.lookup('file.txt'));4console.log(mime.lookup('file.html'));5console.log(mime.lookup('file.css'));6console.log(mime.lookup('file.js'));7console.log(mime.lookup('file.png'));8console.log(mime.lookup('file.jpg'));9console.log(mime.lookup('file.gif'));10console.log(mime.lookup('file.json'));11console.log(mime.lookup('file.xml'));12console.log(mime.lookup('file.pdf'));13console.log(mime.lookup('file.doc'));14console.log(mime.lookup('file.docx'));15console.log(mime.lookup('file.xls'));16console.log(mime.lookup('file.xlsx'));17console.log(mime.lookup('file.ppt'));18console.log(mime.lookup('file.pptx'));19console.log(mime.lookup('file.zip'));20console.log(mime.lookup('file.rar'));21console.log(mime.lookup('file.gz'));22console.log(mime.lookup('file.7z'));23console.log(mime.lookup('file.mp3'));24console.log(mime.lookup('file.mp4'));25console.log(mime.lookup('file.ogg'));26console.log(mime.lookup('file.wma'));27console.log(mime.lookup('file.wav'));28console.log(mime.lookup('file.flac'));29console.log(mime.lookup('file.avi'));30console.log(mime.lookup('file.mpg'));31console.log(mime.lookup('file.mpeg'));32console.log(mime.lookup('file.mov'));33console.log(mime.lookup('file.mkv'));34console.log(mime.lookup('file.swf'));35console.log(mime.lookup('file.exe'));36console.log(mime.lookup('file.dmg'));37console.log(mime.lookup('file.iso'));38console.log(mime.lookup('file.txt'));39console.log(mime.lookup('file.html'));40console.log(mime.lookup('file.css'));41console.log(mime.lookup('file.js'));42console.log(mime.lookup('file.png'));43console.log(mime.lookup('file.jpg'));44console.log(mime.lookup('file.gif'));45console.log(mime.lookup('file.json'));46console.log(mime.lookup('file.xml'));47console.log(mime.lookup('file.pdf'));48console.log(mime.lookup('file.doc'));49console.log(mime.lookup('file.docx'));50console.log(mime.lookup('file.xls'));51console.log(mime.lookup('file.xlsx'));52console.log(mime.lookup('file.ppt'));53console.log(mime.lookup('file.pptx'));54console.log(m

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('./​BestGlobals.js');2var mime = BestGlobals.mime;3var path = require('path');4var ext = path.extname('index.html');5var type = mime[ext] || 'text/​plain';6console.log(type);7var BestGlobals = {};8BestGlobals.mime = {9};10module.exports = BestGlobals;

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('bestglobals');2var mime = BestGlobals.mime;3var mime = require('bestglobals').mime;4var BestGlobals = require('bestglobals');5var mime = BestGlobals.mime;6var mime = require('bestglobals').mime;7var BestGlobals = require('bestglobals');8var mime = BestGlobals.mime;9var mime = require('bestglobals').mime;10var BestGlobals = require('bestglobals');11var mime = BestGlobals.mime;12var mime = require('bestglobals').mime;13var BestGlobals = require('bestglobals');14var mime = BestGlobals.mime;15var mime = require('bestglobals').mime;16var BestGlobals = require('bestglobals');17var mime = BestGlobals.mime;18var mime = require('bestglobals').mime;19var BestGlobals = require('bestglobals');20var mime = BestGlobals.mime;21var mime = require('bestglobals').mime;22var BestGlobals = require('bestglobals');23var mime = BestGlobals.mime;24var mime = require('bestglobals').mime;25var BestGlobals = require('bestglobals');26var mime = BestGlobals.mime;27var mime = require('bestglobals').mime;28var BestGlobals = require('bestglobals');29var mime = BestGlobals.mime;30var mime = require('bestglobals').mime;31var BestGlobals = require('bestglobals');32var mime = BestGlobals.mime;33var mime = require('bestglobals').mime;

Full Screen

Using AI Code Generation

copy

Full Screen

1var mime = require('./​BestGlobals.js').mime;2console.log(mime.lookup('html'));3console.log(mime.lookup('txt'));4console.log(mime.lookup('js'));5console.log(mime.lookup('json'));6console.log(mime.lookup('png'));7console.log(mime.lookup('jpg'));8console.log(mime.lookup('gif'));9console.log(mime.lookup('css'));10console.log(mime.lookup('mp3'));11console.log(mime.lookup('mp4'));12console.log(mime.lookup('pdf'));13console.log(mime.lookup('doc'));14console.log(mime.lookup('docx'));15console.log(mime.lookup('xls'));16console.log(mime.lookup('xlsx'));17console.log(mime.lookup('ppt'));18console.log(mime.lookup('pptx'));19console.log(mime.lookup('zip'));20console.log(mime.lookup('rar'));21console.log(mime.lookup('7z'));22console.log(mime.lookup('tar'));23console.log(mime.lookup('gz'));24console.log(mime.lookup('bz2'));25console.log(mime.lookup('exe'));26var log = require('./​BestGlobals.js').log;27log.info('Test message');28log.warn('Test message');29log.error('Test message');30var utils = require('./​BestGlobals.js').utils;31console.log(utils.trim(' test '));32console.log(utils.trim('test'));33console.log(utils.trim(' test'));34console.log(utils.trim('test '));35console.log(utils.trim(' test '));36console.log(utils.isInt(1));37console.log(utils.isInt(1.1));38console.log(utils.isInt(-1));39console.log(utils.isInt(-1.1));40console.log(utils.isInt('1'));41console.log(utils.isInt('1.1'));42console.log(utils.isInt('-1'));43console.log(utils.isInt('-1.1'));44console.log(utils.isInt('test'));45console.log(utils.isFloat(1));46console.log(utils.isFloat(1.1));47console.log(utils.isFloat(-1));48console.log(utils.isFloat(-1.1));49console.log(utils.isFloat('1'));50console.log(utils.isFloat('1.1'));51console.log(utils.isFloat('-1'));52console.log(utils.isFloat('-1.1'));53console.log(utils.isFloat('test'));54console.log(utils.isNumeric(1));55console.log(utils.isNumeric(1.1));56console.log(utils.isNumeric(-

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('bestglobals');2var mime = BestGlobals.mime;3console.log(mime.lookup('test.html'));4console.log(mime.lookup('test.txt'));5console.log(mime.lookup('test'));6console.log(mime.lookup('test.json'));7console.log(mime.lookup('test.js'));8console.log(mime.lookup('test.css'));9console.log(mime.lookup('test.png'));10console.log(mime.lookup('test.jpg'));11console.log(mime.lookup('test.gif'));12console.log(mime.lookup('test.pdf'));13console.log(mime.lookup('test.doc'));14console.log(mime.lookup('test.xls'));15console.log(mime.lookup('test.mp3'));16console.log(mime.lookup('test.mp4'));17console.log(mime.lookup('test.avi'));18console.log(mime.lookup('test.zip'));19console.log(mime.lookup('test.7z'));20console.log(mime.lookup('test.gz'));21console.log(mime.lookup('test.tgz'));22console.log(mime.lookup('test.t

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('./​BestGlobals');2BestGlobals.mime('text/​html');3var BestGlobals = require('./​BestGlobals');4BestGlobals.mime('text/​html');5var BestGlobals = require('./​BestGlobals');6BestGlobals.mime('text/​html');7var BestGlobals = require('./​BestGlobals');8BestGlobals.mime('text/​html');9var BestGlobals = require('./​BestGlobals');10BestGlobals.mime('text/​html');11var BestGlobals = require('./​BestGlobals');12BestGlobals.mime('text/​html');13var BestGlobals = require('./​BestGlobals');14BestGlobals.mime('text/​html');15var BestGlobals = require('./​BestGlobals');16BestGlobals.mime('text/​html');17var BestGlobals = require('./​BestGlobals');18BestGlobals.mime('text/​html');19var BestGlobals = require('./​BestGlobals');20BestGlobals.mime('text/​html');21var BestGlobals = require('./​BestGlobals');22BestGlobals.mime('text/​html');23var BestGlobals = require('./​BestGlobals');24BestGlobals.mime('text/​html');25var BestGlobals = require('./​BestGlobals');26BestGlobals.mime('text/​html');27var BestGlobals = require('./​BestGlobals');28BestGlobals.mime('text/​html');29var BestGlobals = require('./​BestGlobals');30BestGlobals.mime('text/​html');31var BestGlobals = require('./​BestGlobals');32BestGlobals.mime('text/​html');33var BestGlobals = require('./​BestGlobals');34BestGlobals.mime('text/​html');

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('./​bestGlobals.js');2var mime = BestGlobals.mime;3console.log(mime.lookup('text.html'));4console.log(mime.extension('text/​html'));5var BestGlobals = {6 mime: require('mime')7};8module.exports = BestGlobals;

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('./​BestGlobals');2var mime = BestGlobals.mime;3console.log(mime.lookup('txt'));4console.log(mime.extension('text/​plain'));5var mime = require('mime');6exports.mime = mime;

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require("bestglobals");2var mime = BestGlobals.mime;3var mime = require("bestglobals").mime;4var mime = require("bestglobals").mime;5var BestGlobals = require("bestglobals");6var mime = BestGlobals.mime;7var mime = require("bestglobals").mime;8var mime = require("bestglobals").mime;9var BestGlobals = require("bestglobals");10var mime = BestGlobals.mime;11var mime = require("bestglobals").mime;12var mime = require("bestglobals").mime;13var BestGlobals = require("bestglobals");14var mime = BestGlobals.mime;15var mime = require("bestglobals").mime;16var mime = require("bestglobals").mime;17var BestGlobals = require("bestglobals");18var mime = BestGlobals.mime;19var mime = require("bestglobals").mime;20var mime = require("bestglobals").mime;21var BestGlobals = require("bestglobals");22var mime = BestGlobals.mime;23var mime = require("bestglobals").mime;24var mime = require("bestglobals").mime;25var BestGlobals = require("bestglobals");26var mime = BestGlobals.mime;27var mime = require("bestglobals").mime;28var mime = require("bestglobals").mime;29var BestGlobals = require("bestglobals");30var mime = BestGlobals.mime;31var mime = require("bestglobals").mime;32var mime = require("bestglobals").mime;33var BestGlobals = require("bestglobals");34var mime = BestGlobals.mime;35var mime = require("bestglobals").mime;36var mime = require("bestglobals").mime;37var BestGlobals = require("bestglobals");38var mime = BestGlobals.mime;39var mime = require("bestglobals").mime;40var mime = require("bestglobals").mime;41var BestGlobals = require("bestglobals");42var mime = BestGlobals.mime;43var mime = require("bestglobals").mime;44var mime = require("bestglobals").mime;

Full Screen

Using AI Code Generation

copy

Full Screen

1var BestGlobals = require('./​BestGlobals.js');2var mime = BestGlobals.mime;3var sendFile = BestGlobals.sendFile;4var http = require('http');5var port = 8080;6var server = http.createServer(function(req,res){7 sendFile(res,'./​test4.js');8});9server.listen(port);10console.log('listening on port ' + port);11var BestGlobals = require('./​BestGlobals.js');12var mime = BestGlobals.mime;13var sendFile = BestGlobals.sendFile;14var http = require('http');15var port = 8080;16var server = http.createServer(function(req,res){17 sendFile(res,'./​index.html');18});19server.listen(port);20console.log('listening on port ' + port);21var BestGlobals = require('./​BestGlobals.js');22var mime = BestGlobals.mime;23var sendFile = BestGlobals.sendFile;24var http = require('http');25var port = 8080;26var server = http.createServer(function(req,res){27 sendFile(res,'./​test5.js');28});29server.listen(port);30console.log('listening on port ' + port);31var BestGlobals = require('./​BestGlobals.js');32var mime = BestGlobals.mime;33var sendFile = BestGlobals.sendFile;34var http = require('http');35var port = 8080;36var server = http.createServer(function(req,res){37 sendFile(res,'./​test6.js');38});39server.listen(port);40console.log('listening on port ' + port);41var BestGlobals = require('./​BestGlobals.js');42var mime = BestGlobals.mime;43var sendFile = BestGlobals.sendFile;44var http = require('http');45var port = 8080;46var server = http.createServer(function(req,res){47 sendFile(res,'./​test7.js');

Full Screen

Blogs

Check out the latest blogs from LambdaTest on this topic:

Top Tips For Better Cross Browser Testing

Web developers usually are biased towards a browser. They can debate for hours why the latest version of their favorite browser is the best one for all web development projects.

Common Challenges Faced During Website Automated Testing

Automation is the need of the hour and is probably going to help you in the long run! Considering the huge number of competitors for every product, widespread adoption of Agile development is demanding automation everywhere in the IT world – in order to reach the pinnacle stage. With everyone planning on deploying automation into their organization, I thought of addressing the challenges faced while Website Automated Testing!

What is Cognitive Overhead in Design and How to Reduce it?

Taking in more information than what we can process slows us down. Be it a computer or human, no one can process beyond a specified level. If you open hundreds of apps in a computer, at same point of time it will stop working, slow down, or even crash. Same is with humans, every human has a defined cognitive load that the memory can process. Making anyone process more information than defined will result in cognitive overloading.

Building a Regression Testing Strategy for Agile Teams

If Agile development had a relationship status, it would have been it’s complicated. Where agile offers a numerous advantages like faster go to market, faster ROI, faster customer support, reduced risks, constant improvement etc, some very difficult challenges also follow. Out of those one of the major one is the headache of maintaining a proper balance between sprint development and iterative testing. To be precise agile development and regression testing.

Top 17 UI Design Mistakes That Lead to Failure of Your Website

Well-designed user interface can mean a lot for a website. Having all the latest features and a responsive design that is compatible across browsers improves the search engine ranking of a website, resulting in growth of audience. However, when the project is huge, developers often fail to adhere to the best UI testing practices. Thereby resulting in a website where some important functionality is not working or one where cross browser testing is not entirely performed. Here, we shall discuss the 17 reasons that lead to UI design failure for a website and certain UI design tips to avoid those setbacks.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Best automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful