{"_id":"@d1g1tal/media-type","_rev":"18-90bfc721704a8a35df12020aa6506673","name":"@d1g1tal/media-type","dist-tags":{"latest":"7.0.2"},"versions":{"4.0.0":{"name":"@d1g1tal/media-type","version":"4.0.0","keywords":["content-type","mime type","media type","mimesniff","http","whatwg"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"MIT","_id":"@d1g1tal/media-type@4.0.0","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"0e3e97f01b3e9ee796d15b8e9fc89e73ed668b92","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-4.0.0.tgz","fileCount":18,"integrity":"sha512-3Seo7S1TQc1PORPCoPj4bVhNUsWXfH1oOID8e6/rlV3GsHXuuUKxLRzO9mSlp/BJiLuAOY+PDnTM1HA6szssXw==","signatures":[{"sig":"MEYCIQCZeSf+twzJOjROJrB3eVOFSsrdhZ4ugQj3ApyxSyF30QIhAIvfWPlK0FEyNiKLQmn+Ejd0aKxykjlfV9txA9fUoucQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRD95ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp3pBAAgrjfULBCDF9tnbdg3sbE82OtlhVFwOnO0tIc2K0QLYn40qrw\r\nqmCA3K++B31XCKzCfxl1bz4XMntc9ZYY78q5vAzWbzmCmgUq+mZcbGIVjYzp\r\nCwIPJGjgtNQaGOtLYzYb2c6sYuRHsQXXbBaqCEBp4raIey+r0xE/d2Ng+QJA\r\nLnoh9uTgnqlVVgYErPvbkW2rR6uOuys4jFVqR2AKoepS3aGnTTlEqMmjvnun\r\nRXrLzh0DKOgZLBIzQf7RYjHRvktx0/mAoPBM8DbT9B/ASAwG/VvlYB9FAaD+\r\nY1b/KJW7seFfDE2tmmyP3G/ZgTOb7swumNC5kFnzdlNB2tO6XWFGfEGWT6Pf\r\nhpzHThGucP+a3HLbIh+SEU5CnyiN55xdv3qnYwfrzxDCFmv2AQ8uIOg4CkwI\r\nQsxmdDt0LTH44wIqbZnxrMorcsCrqsWJ8GmEiJAx6p0W6kcv2A3w9e3L19XD\r\njVvJBn5HYSZw7bBVAIHZgS/6WZfOgrSMlXnyff6Gv4/DEyLgd8ChIfHWdK8K\r\nPwdlZIfnI68ziMJ9USiEAmqKH7EZupbM3VORCKMJvJpz/S698dgVRNn+YEUo\r\nAbqbb4LMJNxwOEwqbPwWmRRJoDTdKJkm0wxlOONAnb/a1/5X1J9bRE0PPdPr\r\n2jV7/aE8MsuvtPa50G6oSLd084cgp8kcjcE=\r\n=ZWtJ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["lcov","text-summary"]},"type":"module","types":"./index.d.ts","browser":{"media-type.js":"./dist/media-type.js","media-type.min.js":"./dist/media-type.min.js","media-type.min.js.map":"./dist/media-type.min.js.map"},"engines":{"node":">=16"},"exports":{".":{"import":"./index.js","default":"./dist/media-type.min.js"}},"gitHead":"115f7d7f5c5b0b422bc04436d73e26e36d437632","scripts":{"lint":"eslint --ext .js --fix --ignore-path .gitignore .","test":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js","build":"rimraf dist && esbuild src/media-type.js --bundle --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.js && esbuild src/media-type.js --bundle --sourcemap --minify --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.min.js","pretest":"node scripts/get-latest-platform-tests.js","coverage":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"8.19.2","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"18.10.0","browserslist":[">= 0.5%","last 2 major versions","Firefox ESR","not dead","not ios_saf < 15","not op_mini all"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.1.2","eslint":"^8.25.0","rimraf":"^3.0.2","esbuild":"^0.15.10","minipass-fetch":"^2.1.2","whatwg-encoding":"^2.0.0","printable-string":"^0.3.0","eslint-plugin-jsdoc":"^39.3.6","eslint-plugin-compat":"^4.0.2","@skypack/package-check":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/media-type_4.0.0_1665417081056_0.6737563260952903","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"@d1g1tal/media-type","version":"4.0.1","keywords":["content-type","mime type","media type","mimesniff","http","whatwg"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"MIT","_id":"@d1g1tal/media-type@4.0.1","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"bd94effa23f8e2b629419fe93b0f2c4d4ee44504","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-4.0.1.tgz","fileCount":18,"integrity":"sha512-lWuf0WNHQ+A6l9tQuQ/1ChuYgnFRDiwJ7GisFsMRRckghEjTOn4nAiF00yTVHojaZyJa0OHfnk7yN5CiNqrJBA==","signatures":[{"sig":"MEYCIQCvhk1CkaFIUjvkc1egNdevgbIj+bU/icdI2D2cyFWfZgIhAOZEyi7sEBX7dd+2nuGecmiVnZiWSoIPGALSoccqoYxT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUrjIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr14hAAjkk5mTU4UA3/EOnMsOGp5cky6nHlRlwF+6+g7lXTA7pSJxxg\r\naYbfaV7ZdSK4CBMkxmUJvi6JzXIlHugJ7GauGYpLmqBpBahwT/xQjIY0LMma\r\noXtqqHZhbmrAVDKpAhQSVARg1pWeNOB+zdvH3Wyu45p4maDBXmgbxeZIdmqA\r\n8E7gW1gB2Ysd4yofLl3IMWnrkTG1I5G0W+5QjjYwKeQVBEiyveccBdQvvly5\r\nYqSXSmDUhpDMbwZ78osxMKIR+v6DhSHK+4t/ynr3ktZ4rY6plxfLEQCR4sEH\r\nP2XUkA47N6NswX3nhVi2EKeqTc+WpOvsObyRZhEox/5J92/Lv1nnkEcoOFCF\r\nhgfvXcyWozFT9rAuwJmUEBbvJajQmb4NJUKsAa0/y3VQ7y9NJ1aYIbFLxrHb\r\nBH5pfSL5HO/oMr+AqAlkNK5MNstMq2FtyKRXPMZqjHCgcqViV9BYDbZaoT2n\r\nWmtZuRz3TxyXqPVhG4rou1Zqx7iFzSWo54lc2qCOmrPfu40cYvVvgkxY0LCY\r\n8cYN6m+P+xbVZ2y5HFGLaSteR+I2efUDbwt6TwQdm5I4MgFOT8Xc55sKR1os\r\nY4OLP1TvzlbsPfyPBRa884me0GTNXD/o6X3mEcJq3G11irb2D1xu3jjaWOw8\r\nYH0qxndg5ufXCtMIWekXysdP4SDM4LvGs24=\r\n=sq7W\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["lcov","text-summary"]},"type":"module","types":"./index.d.ts","browser":{"media-type.js":"./dist/media-type.js","media-type.min.js":"./dist/media-type.min.js","media-type.min.js.map":"./dist/media-type.min.js.map"},"engines":{"node":">=16"},"exports":{".":{"import":"./index.js","default":"./dist/media-type.min.js"}},"gitHead":"96ecfbea8c4b272cd23aec104570b673c18c9547","scripts":{"lint":"eslint --ext .js --fix --ignore-path .gitignore .","test":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js","build":"rimraf dist && esbuild src/media-type.js --bundle --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.js && esbuild src/media-type.js --bundle --sourcemap --minify --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.min.js","pretest":"node scripts/get-latest-platform-tests.js","coverage":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"8.19.2","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"19.0.0","browserslist":[">= 0.5%","last 2 major versions","Firefox ESR","not dead","not ios_saf < 15","not op_mini all"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.2.1","eslint":"^8.25.0","rimraf":"^3.0.2","esbuild":"^0.15.12","minipass-fetch":"^3.0.0","whatwg-encoding":"^2.0.0","printable-string":"^0.3.0","eslint-plugin-jsdoc":"^39.3.14","eslint-plugin-compat":"^4.0.2","@skypack/package-check":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/media-type_4.0.1_1666365639684_0.7200426843848855","host":"s3://npm-registry-packages"}},"4.0.2":{"name":"@d1g1tal/media-type","version":"4.0.2","keywords":["content-type","mime type","media type","mimesniff","http","whatwg"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"MIT","_id":"@d1g1tal/media-type@4.0.2","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"86e59f6d113c6a41e5e3f966b80dbe62085bc9a3","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-4.0.2.tgz","fileCount":18,"integrity":"sha512-/LUeHrynxrAd01pQY++4EMaocVXvP6TqWd6hG+eDf3ddti2VOJ1nuDrpkNmV1SRXRuMS6PgsxxE87/nMjx5A2A==","signatures":[{"sig":"MEUCIFqGQBKgocWvJQmLagrPSnq+guU4TJf5fXBEyBpoVgIrAiEAgOCMFFyPtidJe7CRN2A0DPLJuEJn3ZMKROQhffqHokE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80839},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["lcov","text-summary"]},"type":"module","types":"./index.d.ts","browser":{"media-type.js":"./dist/media-type.js","media-type.min.js":"./dist/media-type.min.js","media-type.min.js.map":"./dist/media-type.min.js.map"},"engines":{"node":">=16"},"exports":{".":{"import":"./index.js","default":"./dist/media-type.min.js"}},"gitHead":"aa009f60378008c581da9f7b200a4ff7f6518a5e","scripts":{"lint":"eslint --ext .js --fix --ignore-path .gitignore .","test":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js","build":"rimraf dist && esbuild src/media-type.js --bundle --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.js && esbuild src/media-type.js --bundle --sourcemap --minify --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.min.js","pretest":"node scripts/get-latest-platform-tests.js","coverage":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"9.6.7","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"20.2.0","browserslist":["defaults","not ios_saf < 15","not op_mini all"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.41.0","rimraf":"^5.0.1","esbuild":"^0.17.19","minipass-fetch":"^3.0.3","whatwg-encoding":"^2.0.0","printable-string":"^0.3.0","eslint-plugin-jsdoc":"^44.2.4","eslint-plugin-compat":"^4.1.4","@skypack/package-check":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/media-type_4.0.2_1684765746384_0.48834952554273015","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@d1g1tal/media-type","version":"4.1.0","keywords":["content-type","mime type","media type","mimesniff","http","whatwg"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"MIT","_id":"@d1g1tal/media-type@4.1.0","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"1b59fa1125e70fed873b4f4b5f25369de0b6ef9d","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-4.1.0.tgz","fileCount":18,"integrity":"sha512-x88mF7EjRAY9xuS87CLGcq3LYWNKPe1KypV0+XbGLXD1VI0idG5lnzFymN5zoSlpOVXlkbCPW4qIMZ3WbByFcA==","signatures":[{"sig":"MEUCIBQSBAN4nRCpb1sWeSpiJZVUILJzNzqvDbCM19y9vbFLAiEA4zIsCQKurZ8qcZbSiEals856GUbIJ6/+X7rM9+mYYkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80640},"jest":{"testMatch":["<rootDir>/test/**/*.js"],"testEnvironment":"node","coverageDirectory":"coverage","coverageReporters":["lcov","text-summary"]},"type":"module","types":"./index.d.ts","browser":{"media-type.js":"./dist/media-type.js","media-type.min.js":"./dist/media-type.min.js","media-type.min.js.map":"./dist/media-type.min.js.map"},"engines":{"node":">=16"},"exports":{".":{"import":"./index.js","default":"./dist/media-type.min.js"}},"gitHead":"4649e2724f398434150e064c330ea90ad6cc2422","scripts":{"lint":"eslint --ext .js --fix --ignore-path .gitignore .","test":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js","build":"rimraf dist && esbuild src/media-type.js --bundle --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.js && esbuild src/media-type.js --bundle --sourcemap --minify --platform=browser --global-name=MediaType --footer:js='window.MediaType = MediaType.default;' --outfile=dist/media-type.min.js","pretest":"node scripts/get-latest-platform-tests.js","coverage":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"9.6.7","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"20.2.0","browserslist":["defaults","not ios_saf < 15","not op_mini all"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","eslint":"^8.41.0","rimraf":"^5.0.1","esbuild":"^0.17.19","minipass-fetch":"^3.0.3","whatwg-encoding":"^2.0.0","printable-string":"^0.3.0","eslint-plugin-jsdoc":"^44.2.4","eslint-plugin-compat":"^4.1.4","@skypack/package-check":"^0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/media-type_4.1.0_1684778668558_0.407140452404017","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@d1g1tal/media-type","version":"5.0.0","keywords":["content-type","mime type","media type","mimesniff","http","whatwg"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@5.0.0","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"63072d1cedf60796592ac4c82983228c22ab988b","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-5.0.0.tgz","fileCount":10,"integrity":"sha512-hLRglYomftXttxSvic547Jb8JOTOnUfm3rNYlpibN4iV7jeXud4lzdONLTX/ZZARX5QEgBR5njLn/tnqCv11OA==","signatures":[{"sig":"MEUCIQCQgAovR2LWJJtOuSgwJWh2iXvNysHwe9helobGN19W1AIgP72NyB4IeqSIXdiIvk2303Pvmu3sUWFPuq3ePvf8/j4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36513},"jest":{"collectCoverage":true,"coverageDirectory":"./tests/coverage","collectCoverageFrom":["src/**/*.js"],"testPathIgnorePatterns":["tests/scripts"],"coveragePathIgnorePatterns":["/node_modules/"]},"type":"module","_from":"file:d1g1tal-media-type-5.0.0.tgz","engines":{"node":">=18"},"exports":{".":"./src/media-type.js","./*.js":"./src/*.js","./dist/*":"./dist/*"},"scripts":{"lint":"eslint --ext .js --fix --ignore-path .gitignore .","test":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js","build":"node ./esbuild.js","pretest":"node tests/scripts/get-latest-platform-tests.js","coverage":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"_resolved":"/tmp/8478f069af1497a36f3350a5320be561/d1g1tal-media-type-5.0.0.tgz","_integrity":"sha512-hLRglYomftXttxSvic547Jb8JOTOnUfm3rNYlpibN4iV7jeXud4lzdONLTX/ZZARX5QEgBR5njLn/tnqCv11OA==","repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"10.2.3","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"21.1.0","browserslist":["defaults","not ios_saf < 15","not op_mini all"],"dependencies":{"@d1g1tal/chrysalis":"^2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2+sha256.487609e857f1c11780cc98dd0bfe4c8a8b11c7f23bc3a4493ac7d263d6fb6c8c","devDependencies":{"jest":"^29.7.0","eslint":"^8.53.0","esbuild":"^0.19.5","esbuild-library":"^1.0.2","whatwg-encoding":"^3.0.0","printable-string":"^0.3.0","eslint-plugin-jsdoc":"^46.9.0","eslint-plugin-compat":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/media-type_5.0.0_1699709256953_0.38806834274964674","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"@d1g1tal/media-type","version":"5.0.1","keywords":["content-type","mime type","media type","mimesniff","http","whatwg"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@5.0.1","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"8a1caa6a3f4b1632cc13411d1639025b850bf82e","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-5.0.1.tgz","fileCount":10,"integrity":"sha512-H5uOzp3i5Zvmd398OY7Op8aod+Wk+6RcK24hFDzhLz5wLAuQDH9IDp/gM7IfH3CvyW0bwThrMRlZArwmjjlNxw==","signatures":[{"sig":"MEUCIFfYTvbg5yBHtt4GMT3SUupDuspPWz0SubEX4z5IF2FxAiEA+Owi6d3nTjjBltESRO1RlnJ9GxBEZjvfHclz/zP5ZL0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36296},"jest":{"collectCoverage":true,"coverageDirectory":"./tests/coverage","collectCoverageFrom":["src/**/*.js"],"testPathIgnorePatterns":["tests/scripts"],"coveragePathIgnorePatterns":["/node_modules/"]},"type":"module","_from":"file:d1g1tal-media-type-5.0.1.tgz","engines":{"node":">=18"},"exports":{".":"./src/media-type.js","./*.js":"./src/*.js","./dist/*":"./dist/*"},"scripts":{"lint":"eslint --ext .js --fix --ignore-path .gitignore .","test":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js","build":"node ./esbuild.js","pretest":"node tests/scripts/get-latest-platform-tests.js","coverage":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"_resolved":"/tmp/74393e65abe10cc4ef89b157f9a14319/d1g1tal-media-type-5.0.1.tgz","_integrity":"sha512-H5uOzp3i5Zvmd398OY7Op8aod+Wk+6RcK24hFDzhLz5wLAuQDH9IDp/gM7IfH3CvyW0bwThrMRlZArwmjjlNxw==","repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"10.4.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"21.6.2","browserslist":["defaults and fully supports es6-module","maintained node versions"],"dependencies":{"@d1g1tal/chrysalis":"^2.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","esbuild":"^0.20.1","esbuild-library":"^1.0.7","whatwg-encoding":"^3.1.1","printable-string":"^0.3.0","eslint-plugin-jsdoc":"^48.2.0","eslint-plugin-compat":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/media-type_5.0.1_1708794663415_0.6328817552742381","host":"s3://npm-registry-packages"}},"5.0.2":{"name":"@d1g1tal/media-type","version":"5.0.2","keywords":["content-type","mime type","media type","mimesniff","http","whatwg"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@5.0.2","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"44cc74832a184d053867b4fd2ef9aeca69a4803c","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-5.0.2.tgz","fileCount":10,"integrity":"sha512-CKYPA7KUt+Jo5TlwObcwTGVlT0gtkXq8f0Db6bUBRn9jB8+OZLkIACUddfczGFlhwOsic+nPhH367dl6bJ2t2Q==","signatures":[{"sig":"MEUCIEGuHA9E7NHnY9CYyJe7/heHiQ7suBkIo4G6niRAjQRaAiEA14n0KZJBzZGbrrVQw5XxNReqtmhIfiNphDyXDygKlcU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36359},"jest":{"collectCoverage":true,"coverageDirectory":"./tests/coverage","collectCoverageFrom":["src/**/*.js"],"testPathIgnorePatterns":["tests/scripts"],"coveragePathIgnorePatterns":["/node_modules/"]},"type":"module","_from":"file:d1g1tal-media-type-5.0.2.tgz","engines":{"node":">=18"},"exports":{".":"./src/media-type.js","./*.js":"./src/*.js","./dist/*":"./dist/*"},"scripts":{"lint":"eslint --ext .js --fix --ignore-path .gitignore .","test":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js","build":"node ./esbuild.js","pretest":"node tests/scripts/get-latest-platform-tests.js","coverage":"node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"_resolved":"/tmp/ed1f0369ed4a257c0053710140848236/d1g1tal-media-type-5.0.2.tgz","_integrity":"sha512-CKYPA7KUt+Jo5TlwObcwTGVlT0gtkXq8f0Db6bUBRn9jB8+OZLkIACUddfczGFlhwOsic+nPhH367dl6bJ2t2Q==","repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"10.4.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"21.6.2","browserslist":["defaults and fully supports es6-module","maintained node versions"],"dependencies":{"@d1g1tal/chrysalis":"^2.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","esbuild":"^0.20.1","esbuild-library":"^1.0.7","whatwg-encoding":"^3.1.1","printable-string":"^0.3.0","eslint-plugin-jsdoc":"^48.2.0","eslint-plugin-compat":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/media-type_5.0.2_1708795020843_0.5348149113749159","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"@d1g1tal/media-type","version":"6.0.0","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@6.0.0","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"6c65961ead736ac1446d1e743c750c2a1f56ad26","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.0.tgz","fileCount":7,"integrity":"sha512-el2Ca13LesBF9A2mJqMLXEqRnR56ilP+zajEGYb7Z58HQPeiXFV7E+mMutuKbFhuyUlEA0OsYQBRVBFG380bDA==","signatures":[{"sig":"MEQCIFPoQNXv5Ip0rfwq7TUlVN5Djh0ZPAlzM6Ot/kgEqsgSAiAy3enMzTQpzGGRkQwHIG1JOafSPYpl/kvPfBthzg/p2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49527},"type":"module","_from":"file:d1g1tal-media-type-6.0.0.tgz","exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"scripts":{"lint":"eslint","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","coverage":"vitest run --coverage","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"d1g1tal","email":"jason.dimeo@gmail.com"},"_resolved":"/tmp/f3ba719040025b717baaea04459ada51/d1g1tal-media-type-6.0.0.tgz","_integrity":"sha512-el2Ca13LesBF9A2mJqMLXEqRnR56ilP+zajEGYb7Z58HQPeiXFV7E+mMutuKbFhuyUlEA0OsYQBRVBFG380bDA==","repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.6.2","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.11.0","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.0","vitest":"^4.0.6","@eslint/js":"^9.39.0","@vitest/ui":"^4.0.6","typescript":"^5.9.3","@types/node":"^24.9.2","whatwg-encoding":"^3.1.1","printable-string":"^0.3.0","typescript-eslint":"^8.46.2","@typescript/lib-dom":"npm:@types/web@^0.0.288","@vitest/coverage-v8":"4.0.6","eslint-plugin-jsdoc":"^61.1.11","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.0_1762116074284_0.8435940607205294","host":"s3://npm-registry-packages-npm-production"}},"6.0.1":{"name":"@d1g1tal/media-type","version":"6.0.1","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@6.0.1","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"7d8aa05d4408fe574dac7c75feb22186b2c2857f","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.1.tgz","fileCount":4,"integrity":"sha512-mmeocznQ66g8Sw5b65fARDjuxHJNKqHLork/3UMUzvKBcfJ8V6rk2f6FoMrAWnMxpgBdHPYd4z6fqbp35orqZA==","signatures":[{"sig":"MEYCIQDuKBKjhv6ZHChaRAcKpSDLgjRPl2My7DZmt+my/qYt9QIhANEIssiVV3pZh4PIBISrBun+99KksUfWoHNeTmk0uunZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@6.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28521},"type":"module","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"gitHead":"6d8a816941d9929f9c75df5961e11fe3d44296e1","scripts":{"lint":"eslint","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","test:watch":"vitest","type-check":"tsbuild --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.11.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.13.1","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"eslint":"^10.0.2","vitest":"^4.0.18","@eslint/js":"^10.0.1","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.3","whatwg-encoding":"^3.1.1","@d1g1tal/tsbuild":"^1.3.0","printable-string":"^0.3.0","typescript-eslint":"^8.56.1","@typescript/lib-dom":"npm:@types/web@^0.0.338","@vitest/coverage-v8":"4.0.18","eslint-plugin-jsdoc":"^62.7.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.1_1772382328536_0.37004508540798886","host":"s3://npm-registry-packages-npm-production"}},"6.0.2":{"name":"@d1g1tal/media-type","version":"6.0.2","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@6.0.2","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"059bee3e0b03ccd653b9bfe7c47b5b4c3f794be1","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.2.tgz","fileCount":4,"integrity":"sha512-AMjLlIbThaWPBcyzjmnr2g8RpDs7CRPd3hyfwQjBILFEEZvgtxQp5n3eEmE4vmMycyE5xOR+bCvlaGq0sdlDdA==","signatures":[{"sig":"MEUCIQC1pj+9r7rjvodDBKUCuuDNme1WLemM00QvgNlDGPzpCQIgO7uuz31BoDVkTRd2s91TrpU+hFWNnEi2N0Zdn4aHdJY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@6.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28859},"type":"module","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"gitHead":"229ba5f3930ff71bee377db6913d847a683b73fb","scripts":{"lint":"eslint","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","test:watch":"vitest","type-check":"tsbuild --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.11.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.13.1","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"eslint":"^10.0.2","vitest":"^4.0.18","@eslint/js":"^10.0.1","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.3","whatwg-encoding":"^3.1.1","@d1g1tal/tsbuild":"^1.3.2","printable-string":"^0.3.0","typescript-eslint":"^8.56.1","@typescript/lib-dom":"npm:@types/web@^0.0.339","@vitest/coverage-v8":"4.0.18","eslint-plugin-jsdoc":"^62.7.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.2_1772494875913_0.010764103017676385","host":"s3://npm-registry-packages-npm-production"}},"6.0.3":{"name":"@d1g1tal/media-type","version":"6.0.3","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@6.0.3","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"8ca8d0d5b3132961c65ea7b99d77ed7cddbe2c0c","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.3.tgz","fileCount":7,"integrity":"sha512-GDrz2QpkuOaPtdpRNhOtVlhgqBr9WgucGZi4YVGpv9t12oNjdLS4zIVZ75wrcRI1zILV6qIm7FlJQy6VfSWl3g==","signatures":[{"sig":"MEUCIQD1qVnrnm+6DvkMWZMNrtb+jFBveWKfV55Fi/3k0dMHWgIgdJGydtyho8QFArfnoYbgFFpcpl5/mCHIUmSq1yWzezA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@6.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58483},"type":"module","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"gitHead":"bc95f8081e79c3326e90bf77bfa6c15ab8abf699","scripts":{"lint":"eslint","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","test:watch":"vitest","type-check":"tsbuild --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm lint && pnpm build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.11.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.13.1","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"eslint":"^10.0.2","vitest":"^4.0.18","@eslint/js":"^10.0.1","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.3","whatwg-encoding":"^3.1.1","@d1g1tal/tsbuild":"^1.3.2","printable-string":"^0.3.0","typescript-eslint":"^8.56.1","@typescript/lib-dom":"npm:@types/web@^0.0.339","@vitest/coverage-v8":"4.0.18","eslint-plugin-jsdoc":"^62.7.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.3_1772495299835_0.6360668022564009","host":"s3://npm-registry-packages-npm-production"}},"6.0.4":{"name":"@d1g1tal/media-type","version":"6.0.4","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"url":"https://domenic.me/","name":"Domenic Denicola","email":"d@domenic.me"},"license":"ISC","_id":"@d1g1tal/media-type@6.0.4","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"a9ef5115287022e39180c59b706c842ebcfbb115","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.4.tgz","fileCount":7,"integrity":"sha512-ALr1MqnS8LVMFFBqm+K0YqIsV8SWoMFhRNHxbqIimPb8+j/wdmuC5Jv3v6bhOhFP4mGbbAtCXVfY169eOplqag==","signatures":[{"sig":"MEYCIQDMtjTzRFwaPzFM4/Soz173az66OFP8lKHH9HFF7sbFqAIhAOGXlCc957kDwN/2vAsZPfShxlyRzDsjOzJEkp19hJtD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@6.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":59405},"type":"module","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"gitHead":"1e89a4c42989f57730628f1c9681bb7376d9f7d5","scripts":{"lint":"eslint","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","test:watch":"vitest","type-check":"tsbuild --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm lint && pnpm build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.11.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.14.0","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"eslint":"^10.0.3","vitest":"^4.0.18","@eslint/js":"^10.0.1","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^25.3.5","@exodus/bytes":"^1.15.0","@d1g1tal/tsbuild":"^1.3.2","printable-string":"^0.3.0","typescript-eslint":"^8.56.1","@typescript/lib-dom":"npm:@types/web@^0.0.339","@vitest/coverage-v8":"4.0.18","eslint-plugin-jsdoc":"^62.7.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.4_1772882850213_0.19618353456566173","host":"s3://npm-registry-packages-npm-production"}},"6.0.6":{"name":"@d1g1tal/media-type","version":"6.0.6","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"name":"D1g1talEntr0py"},"license":"MIT","_id":"@d1g1tal/media-type@6.0.6","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"5e579ef8868043ffd4c4855f059ebb210157e220","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.6.tgz","fileCount":7,"integrity":"sha512-DRZ03rRRJbwiF+gkXLXLd9VYDq28PKzeOcXnFqmmKsLR6ecpQdDRp8BURKVpX7lh2R+dlG3xNdx4flo+fc2Xjg==","signatures":[{"sig":"MEUCIDpXLYF4bT4UJQ3W+OpBuUxSw2vZiDel3cOfElFhkqisAiEAn0vnaUZGPanHpuQbp/4LDx/7fvlEi3u6cSimf/4Myy0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@6.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53973},"type":"module","_from":"file:d1g1tal-media-type-6.0.6.tgz","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"scripts":{"lint":"eslint ./src","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","test:watch":"vitest","type-check":"tsbuild --noEmit","build:watch":"tsbuild --watch","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"_resolved":"/tmp/8f9821101616c5046599e394f792e91f/d1g1tal-media-type-6.0.6.tgz","_integrity":"sha512-DRZ03rRRJbwiF+gkXLXLd9VYDq28PKzeOcXnFqmmKsLR6ecpQdDRp8BURKVpX7lh2R+dlG3xNdx4flo+fc2Xjg==","repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.9.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.14.0","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.3","vitest":"^4.1.0","@eslint/js":"^10.0.1","@vitest/ui":"^4.1.0","typescript":"^5.9.3","@types/node":"^25.5.0","@exodus/bytes":"^1.15.0","@d1g1tal/tsbuild":"^1.6.1","printable-string":"^0.3.0","typescript-eslint":"^8.57.1","@typescript/lib-dom":"npm:@types/web@^0.0.343","@vitest/coverage-v8":"4.1.0","eslint-plugin-jsdoc":"^62.8.0","@typescript-eslint/parser":"^8.57.1","@typescript-eslint/eslint-plugin":"^8.57.1"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.6_1773861734654_0.2860536889370078","host":"s3://npm-registry-packages-npm-production"}},"6.0.7":{"name":"@d1g1tal/media-type","version":"6.0.7","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"name":"D1g1talEntr0py"},"license":"MIT","_id":"@d1g1tal/media-type@6.0.7","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"3eb2b9c4ec964592bc0d1ac8c41f0b5722e79987","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.7.tgz","fileCount":7,"integrity":"sha512-9Jtv522DjCeFzSkrxlBMz/aBegUJ9WpwhWxXbMVl73ANXG3yfE7x6ybu25xP9aV58rWg9KSgQ+YglGAb28EY1Q==","signatures":[{"sig":"MEUCIAU9DmFwn6nwIkma21H3eBdO1Xjm+7C+qXD+S7WSibJLAiEA/RaSV7qrSdg1G6GJJxp6WQgvFXwmArVuDHkf0ML4mt0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@6.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54593},"type":"module","_from":"file:d1g1tal-media-type-6.0.7.tgz","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"scripts":{"lint":"eslint ./src","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","test:watch":"vitest","type-check":"tsbuild --noEmit","build:watch":"tsbuild --watch","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"_resolved":"/tmp/892213332958f7d8253b9dbd3e033bee/d1g1tal-media-type-6.0.7.tgz","_integrity":"sha512-9Jtv522DjCeFzSkrxlBMz/aBegUJ9WpwhWxXbMVl73ANXG3yfE7x6ybu25xP9aV58rWg9KSgQ+YglGAb28EY1Q==","repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.11.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.14.1","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.2.0","vitest":"^4.1.3","@eslint/js":"^10.0.1","@vitest/ui":"^4.1.3","typescript":"^6.0.2","@types/node":"^25.5.2","@exodus/bytes":"^1.15.0","@d1g1tal/tsbuild":"^1.7.5","printable-string":"^0.3.0","typescript-eslint":"^8.58.0","@typescript/lib-dom":"npm:@types/web@^0.0.345","@vitest/coverage-v8":"4.1.3","eslint-plugin-jsdoc":"^62.9.0","@typescript-eslint/parser":"^8.58.0","@typescript-eslint/eslint-plugin":"^8.58.0"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.7_1775567477530_0.9887272948645089","host":"s3://npm-registry-packages-npm-production"}},"6.0.8":{"name":"@d1g1tal/media-type","version":"6.0.8","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":{"name":"D1g1talEntr0py"},"license":"MIT","_id":"@d1g1tal/media-type@6.0.8","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"e6bff7511d9d1c0b932d1eaa527d38c86eb5f8c4","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-6.0.8.tgz","fileCount":7,"integrity":"sha512-wuw1/3isRJ9GZTljVUQGu7S4sN4N3WDI0wJFCu2Rl03lr3svyDP+sikNalkSt9ZdPeM8m+g3H/5vo3cSTxgJGw==","signatures":[{"sig":"MEYCIQCl8x+bfHFBdHkl39iRSHazXq8vrg7xg/1QU4oSuJ84qwIhALPd9ZS4YF21MfnjlRNMveUpuDvlOScaZcYkyNNV7Gli","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@6.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54861},"type":"module","_from":"file:d1g1tal-media-type-6.0.8.tgz","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"scripts":{"lint":"eslint ./src","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","test:watch":"vitest","type-check":"tsbuild --noEmit","build:watch":"tsbuild --watch","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"_resolved":"/tmp/63b05b9b6115705fc76d6d0858b75ca0/d1g1tal-media-type-6.0.8.tgz","_integrity":"sha512-wuw1/3isRJ9GZTljVUQGu7S4sN4N3WDI0wJFCu2Rl03lr3svyDP+sikNalkSt9ZdPeM8m+g3H/5vo3cSTxgJGw==","repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"_npmVersion":"11.11.0","description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.14.1","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.2.0","vitest":"^4.1.3","@eslint/js":"^10.0.1","@vitest/ui":"^4.1.3","typescript":"^6.0.2","@types/node":"^25.5.2","@exodus/bytes":"^1.15.0","@d1g1tal/tsbuild":"^1.7.5","printable-string":"^0.3.0","typescript-eslint":"^8.58.0","@typescript/lib-dom":"npm:@types/web@^0.0.345","@vitest/coverage-v8":"4.1.3","eslint-plugin-jsdoc":"^62.9.0","@typescript-eslint/parser":"^8.58.0","@typescript-eslint/eslint-plugin":"^8.58.0"},"_npmOperationalInternal":{"tmp":"tmp/media-type_6.0.8_1775567895833_0.9851788880680628","host":"s3://npm-registry-packages-npm-production"}},"7.0.0":{"name":"@d1g1tal/media-type","version":"7.0.0","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":"D1g1talEntr0py","license":"MIT","_id":"@d1g1tal/media-type@7.0.0","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"a9539c89805900007deb2d335032d19d53dc2443","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-7.0.0.tgz","fileCount":7,"integrity":"sha512-Ef7nCarHVfH9FNda9m89cm2RwWkn7jDr0b47obuN5sAYaeqrfpVYEhP2lsbMgzgkEuFcZ/Mjc6B8UH32T7uMTQ==","signatures":[{"sig":"MEYCIQCPGSs1ko4NbCtmxVzB61wYV+w7hgqKBB6WMbrLuA3BywIhAPUoBk8CFEIocyA/nEzWwFXISHZdNQ+qvRW4rPmXEkFG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@7.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":62325},"type":"module","engines":{"node":">=20.16.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"scripts":{"lint":"eslint ./src","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","benchmark":"pnpm build && node --import ./benchmarks/cdn-preload.ts benchmarks/benchmark.ts","test:watch":"vitest","type-check":"tsbuild --noEmit","build:watch":"tsbuild --watch","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.15.0","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.4.0","vitest":"^4.1.7","@eslint/js":"^10.0.1","@vitest/ui":"^4.1.7","typescript":"^6.0.3","@types/node":"^25.9.1","@exodus/bytes":"^1.15.1","@d1g1tal/tsbuild":"^1.9.0","printable-string":"^0.3.0","typescript-eslint":"^8.59.4","@typescript/lib-dom":"npm:@types/web@^0.0.349","@vitest/coverage-v8":"4.1.7","eslint-plugin-jsdoc":"^63.0.0","@typescript-eslint/parser":"^8.59.4","@typescript-eslint/eslint-plugin":"^8.59.4"},"_npmOperationalInternal":{"tmp":"tmp/media-type_7.0.0_1779652584107_0.8444269227114485","host":"s3://npm-registry-packages-npm-production"}},"7.0.1":{"name":"@d1g1tal/media-type","version":"7.0.1","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"author":"D1g1talEntr0py","license":"MIT","_id":"@d1g1tal/media-type@7.0.1","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"0aaeaebd6dc344c116b43b2e694c1d3b8ad8d2bb","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-7.0.1.tgz","fileCount":7,"integrity":"sha512-xar4OGaG0gDriqW5yZIkRHm36CxPOovU1ujk9ZN95jjOGsnheQLXFY+nlnnhzCXK5TYrzmB9mcFYUVV/jjP0nA==","signatures":[{"sig":"MEUCIFowBS/SnikNQ6RLhHmmsfVc7kaef5PG00Od2kbdGmueAiEAzW3ZqpF7VvaYCwI6SWICTDhl75qqdpTeYhC1+KFyJUU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@7.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":64538},"type":"module","types":"./dist/media-type.d.ts","engines":{"node":">=22.22.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"scripts":{"lint":"eslint --flag unstable_native_nodejs_ts_config ./src","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","test:ui":"vitest run --ui","benchmark":"pnpm build && node --import ./benchmarks/cdn-preload.ts benchmarks/benchmark.ts","test:watch":"vitest","type-check":"tsbuild --noEmit","build:watch":"tsbuild --watch","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"_nodeVersion":"24.18.0","browserslist":["defaults and fully supports es6-module","maintained node versions"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.8.0","vitest":"^4.1.10","@eslint/js":"^10.0.1","@vitest/ui":"^4.1.10","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.2.0","@exodus/bytes":"^1.15.1","@d1g1tal/tsbuild":"^2.2.4","printable-string":"^0.3.0","typescript-eslint":"^8.66.0","@typescript/native":"npm:typescript@^7.0.2","@typescript/lib-dom":"npm:@types/web@^0.0.354","@vitest/coverage-v8":"4.1.10","eslint-plugin-jsdoc":"^63.3.3"},"_npmOperationalInternal":{"tmp":"tmp/media-type_7.0.1_1786220169492_0.11992699107171778","host":"s3://npm-registry-packages-npm-production"}},"7.0.2":{"_id":"@d1g1tal/media-type@7.0.2","bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"dist":{"shasum":"07e4093f660c893f7aecb8d1e89e9a1b9e18c86f","tarball":"https://registry.npmjs.org/@d1g1tal/media-type/-/media-type-7.0.2.tgz","fileCount":7,"integrity":"sha512-rmJ5aIoBeT1fUqq8Kj1tIyc39nDysLzJ2azAAfxkWWOfcVM+OZPK4wJ3dx6xU4L6VJzqR+5ncNaNAU8/qx3bAw==","signatures":[{"sig":"MEUCIDffgjhyrlu8WFyRJRbUUBJkWBWCjQH///vmcqqf0UgMAiEA+Nu3PgwLihgo0yZPPWNHKg71ofxkRgEzYDUtCE/0FI8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA1VmUZaMnEQsRlRfjoDd0C3GtDUob380XHh+VgBMLUKAiAaZgkF6EIiap8pXW/Msm3S8bNga21Um6G47gBh5tjmxw=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@d1g1tal%2fmedia-type@7.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75905},"name":"@d1g1tal/media-type","type":"module","types":"./dist/media-type.d.ts","author":"D1g1talEntr0py","engines":{"node":">=24.11.0"},"exports":{".":{"types":"./dist/media-type.d.ts","import":"./dist/media-type.js"}},"license":"MIT","scripts":{"lint":"eslint --flag unstable_native_nodejs_ts_config ./src","test":"vitest run","build":"tsbuild","pretest":"node tests/scripts/get-latest-platform-tests.ts","benchmark":"pnpm build && node --import ./benchmarks/cdn-preload.ts benchmarks/benchmark.ts && node --expose-gc benchmarks/memory.ts","test:watch":"vitest","type-check":"tsbuild --noEmit","build:watch":"tsbuild --watch","test:coverage":"vitest run --coverage"},"version":"7.0.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5975ac2b-d3d8-431a-9533-ef831f3f995f"}},"homepage":"https://github.com/D1g1talEntr0py/media-type#readme","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","directories":{},"maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"browserslist":["defaults and fully supports es6","maintained node versions"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.10.0","vitest":"^5.0.0","@eslint/js":"^10.0.1","@vitest/ui":"^5.0.0","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"^26.5.1","@exodus/bytes":"^1.15.1","@d1g1tal/tsbuild":"^3.0.2","printable-string":"^0.3.0","typescript-eslint":"^8.70.0","@typescript/native":"npm:typescript@^7.0.2","@typescript/lib-dom":"npm:@types/web@^0.0.356","@vitest/coverage-v8":"5.0.0","eslint-plugin-jsdoc":"^64.3.10"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/media-type_7.0.2_1789341866211_0.6653031413983461"}}},"time":{"created":"2022-10-10T15:51:21.000Z","modified":"2026-09-13T23:24:26.574Z","4.0.0":"2022-10-10T15:51:21.264Z","4.0.1":"2022-10-21T15:20:40.151Z","4.0.2":"2023-05-22T14:29:06.567Z","4.1.0":"2023-05-22T18:04:28.716Z","5.0.0":"2023-11-11T13:27:37.139Z","5.0.1":"2024-02-24T17:11:03.653Z","5.0.2":"2024-02-24T17:17:00.996Z","6.0.0":"2025-11-02T20:41:14.487Z","6.0.1":"2026-03-01T16:25:28.708Z","6.0.2":"2026-03-02T23:41:16.050Z","6.0.3":"2026-03-02T23:48:19.979Z","6.0.4":"2026-03-07T11:27:30.373Z","6.0.6":"2026-03-18T19:22:14.797Z","6.0.7":"2026-04-07T13:11:17.675Z","6.0.8":"2026-04-07T13:18:15.974Z","7.0.0":"2026-05-24T19:56:24.236Z","7.0.1":"2026-08-08T20:16:09.648Z","7.0.2":"2026-09-13T23:24:26.285Z"},"bugs":{"url":"https://github.com/D1g1talEntr0py/media-type/issues"},"author":"D1g1talEntr0py","license":"MIT","homepage":"https://github.com/D1g1talEntr0py/media-type#readme","keywords":["content-type","mime type","media type","mimesniff","mime","http","whatwg","typescript","esm","parser","serializer"],"repository":{"url":"git+https://github.com/D1g1talEntr0py/media-type.git","type":"git"},"description":"Parses, serializes, and manipulates media types, according to the WHATWG MIME Sniffing Standard","maintainers":[{"name":"d1g1tal","email":"jason.dimeo@gmail.com"}],"readme":"# Parse, serialize, and manipulate media types\n\n[![npm version](https://img.shields.io/npm/v/@d1g1tal/media-type?color=blue)](https://www.npmjs.com/package/@d1g1tal/media-type)\n[![npm downloads](https://img.shields.io/npm/dm/@d1g1tal/media-type)](https://www.npmjs.com/package/@d1g1tal/media-type)\n[![CI](https://github.com/D1g1talEntr0py/media-type/actions/workflows/ci.yml/badge.svg)](https://github.com/D1g1talEntr0py/media-type/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/D1g1talEntr0py/media-type/graph/badge.svg)](https://codecov.io/gh/D1g1talEntr0py/media-type)\n[![License: MIT](https://img.shields.io/github/license/D1g1talEntr0py/media-type)](https://github.com/D1g1talEntr0py/media-type/blob/main/LICENSE)\n[![Node.js](https://img.shields.io/node/v/@d1g1tal/media-type)](https://nodejs.org)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)\n\n> **Note**: This is a TypeScript rewrite and fork of the original [`whatwg-mimetype`](https://github.com/jsdom/whatwg-mimetype) package. See [CHANGELOG.md](./CHANGELOG.md) for migration information.\n\nThis package will parse [MIME types](https://mimesniff.spec.whatwg.org/#understanding-mime-types) (also known as media types) into a structured format, which can then be manipulated and serialized according to the WHATWG MIME Sniffing Standard.\n\n## Features\n\n- ✅ **WHATWG Standard Compliant**: Implements the [WHATWG MIME Sniffing Standard](https://mimesniff.spec.whatwg.org/)\n- ✅ **Full TypeScript Support**: Written in TypeScript with complete type definitions\n- ✅ **Pure ES Modules**: Modern ESM-only package\n- ✅ **Zero Dependencies**: No runtime dependencies\n- ✅ **Extensive Testing**: Includes WHATWG web platform tests\n- ✅ **Lightweight**: Minimal bundle size\n\n## Installation\n\n```bash\nnpm install @d1g1tal/media-type\n```\n\n```bash\npnpm add @d1g1tal/media-type\n```\n\n```bash\nyarn add @d1g1tal/media-type\n```\n\n## Usage\n\n```js\nimport { MediaType } from '@d1g1tal/media-type';\n\nconst mediaType = new MediaType('Text/HTML;Charset=\"utf-8\"');\n\nconsole.assert(mediaType.toString() == 'text/html;charset=utf-8');\n\nconsole.assert(mediaType.type == 'text');\nconsole.assert(mediaType.subtype == 'html');\nconsole.assert(mediaType.essence == 'text/html');\nconsole.assert(mediaType.parameters.get('charset') == 'utf-8');\n\nmediaType.parameters.set('charset', 'windows-1252');\nconsole.assert(mediaType.parameters.get('charset') == 'windows-1252');\nconsole.assert(mediaType.toString() == 'text/html;charset=windows-1252');\nconsole.assert(mediaType.matches('text/html') == true);\nconsole.assert(mediaType.matches('text/xml') == false);\n```\n\nParsing is a fairly complex process; see [the specification](https://mimesniff.spec.whatwg.org/#parsing-a-mime-type) for details (and similarly [for serialization](https://mimesniff.spec.whatwg.org/#serializing-a-mime-type)).\n\nThis package's algorithms conform to those of the WHATWG [MIME Sniffing Standard](https://mimesniff.spec.whatwg.org/), and is aligned up to commit [8e9a7dd](https://github.com/whatwg/mimesniff/commit/8e9a7dd90717c595a4e4d982cd216e4411d33736).\n\n## Migration from whatwg-mimetype\n\nIf you're migrating from the original `whatwg-mimetype` package, please review the [CHANGELOG.md](./CHANGELOG.md) for breaking changes. Key changes include:\n\n- **Class renamed**: `MIMEType` → `MediaType`\n- **Removed methods**: `isHTML()`, `isXML()`, `isJavaScript()` - implement your own checks using the `essence` property\n- **New method**: `matches(mediaType)` for flexible type matching\n- **Properties now read-only**: `type` and `subtype` can only be read via getters\n- **Constructor change**: Optional second parameter to override parsed parameters\n- **Pure ESM**: No CommonJS support\n\n### Quick Migration Example\n\n```typescript\n// Old (whatwg-mimetype v4.x)\nimport MIMEType from 'whatwg-mimetype';\nconst mimeType = new MIMEType('text/html');\nif (mimeType.isHTML()) { /* ... */ }\n\n// New (@d1g1tal/media-type v5.x)\nimport { MediaType } from '@d1g1tal/media-type';\nconst mediaType = new MediaType('text/html');\nif (mediaType.essence === 'text/html' || mediaType.matches('text/html')) { /* ... */ }\n```\n\n## `MediaType` API\n\nThis package's main module's export is a class, `MediaType`. Its constructor takes a string which it will attempt to parse into a media type; if parsing fails, an `Error` will be thrown.\n\n### The `parse()` static factory method\n\nAs an alternative to the constructor, you can use `MediaType.parse(string)`. The only difference is that `parse()` will return `null` on failed parsing, whereas the constructor will throw. It thus makes the most sense to use the constructor in cases where unparsable MIME types would be exceptional, and use `parse()` when dealing with input from some unconstrained source.\n\n### Properties\n\n- `type`: the media type's [type](https://mimesniff.spec.whatwg.org/#mime-type-type), e.g. `'text'`\n- `subtype`: the media type's [subtype](https://mimesniff.spec.whatwg.org/#mime-type-subtype), e.g. `'html'`\n- `essence`: the media type's [essence](https://mimesniff.spec.whatwg.org/#mime-type-essence), e.g. `'text/html'`\n- `parameters`: an instance of `MediaTypeParameters`, containing this media type's [parameters](https://mimesniff.spec.whatwg.org/#mime-type-parameters)\n\n`type` and `subtype` are read-only properties exposed via getters.\n\n`essence` is only a getter, and cannot be changed.\n\n`parameters` is also a getter, but the contents of the `MediaTypeParameters` object are mutable, as described below.\n\n### Methods\n\n- **`toString()`**: Serializes the media type to a string\n- **`matches(mediaType: MediaType | string)`**: Checks if the media type matches the specified type\n  - When passed a string: checks exact essence equality (e.g., `mediaType.matches('text/html')` returns `true`)\n  - When passed a `MediaType` instance: performs exact type/subtype comparison\n\n## `MediaTypeParameters` API\n\nThe `MediaTypeParameters` class, instances of which are returned by `MediaType.parameters`, extends a [JavaScript `Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) with both the keys and values being strings. The keys are parameter names, and the values are parameter values.\n\nHowever, `MediaTypeParameters` methods will always interpret their arguments as appropriate for media types, so e.g. parameter names will be lowercased, and attempting to set invalid characters will throw.\n\nSome examples:\n\n```js\nconst mediaType = new MediaType(`x/x;a=b;c=D;E='F'`);\n\n// Logs:\n// a b\n// c D\n// e F\nfor (const [ name, value ] of mediaType.parameters) {\n  console.log(name, value);\n}\n\nconsole.assert(mediaType.parameters.has('a'));\nconsole.assert(mediaType.parameters.has('A'));\nconsole.assert(mediaType.parameters.get('A') === 'b');\n\nmediaType.parameters.set('Q', 'X');\nconsole.assert(mediaType.parameters.get('q') === 'X');\nconsole.assert(mediaType.toString() === \"x/x;a=b;c=D;e='F';q=X\");\n\n// Throws:\nmediaType.parameters.set('@', 'x');\n```\n\n## Additional Exports\n\nIn addition to the main `MediaType` class, this package also exports:\n\n- **`MediaTypeParameters`**: The parameters class (extends `Map<string, string>`)\n- **`MediaTypeParser`**: Low-level parser with static methods\n- **Type exports**: `MediaTypeComponent`, `ParsedMediaType` (TypeScript types)\n\n```typescript\nimport {\n  MediaType,\n  MediaTypeParameters,\n  MediaTypeParser,\n  type MediaTypeComponent,\n  type ParsedMediaType\n} from '@d1g1tal/media-type';\n```\n\n## Browser Support\n\nThis package uses modern ES features and is designed for:\n- Modern browsers with ES6 module support\n- Maintained Node.js versions (see `browserslist` in package.json)\n\n## Development\n\n```bash\n# Install dependencies\npnpm install\n\n# Run tests\npnpm test\n\n# Run tests with coverage\npnpm test:coverage\n\n# Run tests in watch mode\npnpm test:watch\n\n# Run tests with UI\npnpm test:ui\n\n# Build the package\npnpm build\n\n# Lint\npnpm lint\n\n# Run benchmarks\npnpm benchmark\n```\n\n## About This Fork\n\nThis project is a fork and substantial rewrite of the excellent [`whatwg-mimetype`](https://github.com/jsdom/whatwg-mimetype) package by Domenic Denicola and contributors.\n\n**Why fork?**\n- Complete TypeScript rewrite for better type safety\n- Modernize build tooling and dependencies\n- Optimize bundle size and performance\n- Maintain WHATWG standard compliance\n\n**Original Author**: Domenic Denicola\n**Current Maintainer**: Jason DiMeo\n\nThe original contributors' excellent work is acknowledged with gratitude. This fork maintains the same commitment to WHATWG standards compliance while providing a modern TypeScript-first experience.\n\n## License\n\nMIT License - see [LICENSE](./LICENSE) file for details.\n\nThe original `whatwg-mimetype` package was licensed under MIT.\n\n## Contributing\n\nContributions are welcome! Please ensure:\n- All tests pass (`pnpm test`)\n- Code follows the ESLint configuration\n- TypeScript types are properly defined\n- Changes are documented in the CHANGELOG\n\n## Resources\n\n- [WHATWG MIME Sniffing Standard](https://mimesniff.spec.whatwg.org/)\n- [Original whatwg-mimetype package](https://github.com/jsdom/whatwg-mimetype)\n- [Issue Tracker](https://github.com/D1g1talEntr0py/media-type/issues)","readmeFilename":""}