{"_id":"@remix-run/mime","_rev":"10-3adc02bf20a8228ebec72c3b6853407d","name":"@remix-run/mime","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"@remix-run/mime","version":"0.0.0","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.0.0","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"925387497296a52ddf7a6e0b1385f06301fd5720","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.0.0.tgz","fileCount":23,"integrity":"sha512-2Ntk8G+JT6hz/ybpBfAlaUlRJUhoH/s/zNRreL1QDo+HPhWsIsNEfjIe/pOuO92Q1/c5szm/DMu/bOUwuJS9UA==","signatures":[{"sig":"MEYCIQDTqzOnyOLIFB5wLUqZDAhqe8M6sTVcZ04GcQcw4eUIwAIhAMWQzMoSyBmmvpEFYWUt9Yxk8unPuKlkSsZ2QlywH8p4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56646},"type":"module","_from":"file:remix-run-mime-0.0.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"node --disable-warning=ExperimentalWarning --test './src/**/*.test.ts' './scripts/**/*.test.ts'","build":"tsc -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node --disable-warning=ExperimentalWarning ./scripts/codegen.js","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mjackson","email":"mjijackson+npm@gmail.com"},"_resolved":"/private/var/folders/n5/1lxhnzk56hg6b7vnl558364m0000gn/T/4777e2fc2f00a99c2b74d2d3e8338ad8/remix-run-mime-0.0.0.tgz","_integrity":"sha512-2Ntk8G+JT6hz/ybpBfAlaUlRJUhoH/s/zNRreL1QDo+HPhWsIsNEfjIe/pOuO92Q1/c5szm/DMu/bOUwuJS9UA==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.3.0","description":"Utilities for working with MIME types","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","typescript":"^5.9.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.0.0_1764110935282_0.8867464177558937","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@remix-run/mime","version":"0.1.0","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.1.0","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"4fd7204831698e0b9e16bdda809deabf271e6184","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.1.0.tgz","fileCount":23,"integrity":"sha512-SUuIhuzaFdPPF8hPJ2qneILnP3Nxc96jvuz6QAhXDeqenXsCNUdduF+6J2PILdzme0t3dVZcHARfcgYPTaOWdg==","signatures":[{"sig":"MEQCIDs1pvNr9PoN3RaKh6lsTsTVs2tn64FBu3Bmz3q7db9hAiAIj80eAiOAuRid+zqq5yxgWpeVBIbg29xIKTD3CygfBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56646},"type":"module","_from":"file:remix-run-mime-0.1.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"node --disable-warning=ExperimentalWarning --test './src/**/*.test.ts' './scripts/**/*.test.ts'","build":"tsc -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node --disable-warning=ExperimentalWarning ./scripts/codegen.js","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:626e2dc1-8f47-410a-b90c-9a64125de51c"}},"_resolved":"/tmp/d51e5e971fe0cf5ab311bf97010dbaa8/remix-run-mime-0.1.0.tgz","_integrity":"sha512-SUuIhuzaFdPPF8hPJ2qneILnP3Nxc96jvuz6QAhXDeqenXsCNUdduF+6J2PILdzme0t3dVZcHARfcgYPTaOWdg==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.6.2","description":"Utilities for working with MIME types","directories":{},"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","typescript":"^5.9.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.1.0_1764111183783_0.6561114279501736","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@remix-run/mime","version":"0.2.0","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.2.0","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"3caad9fb4a3536c68e54eff4296a3f1c2a8c0355","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.2.0.tgz","fileCount":31,"integrity":"sha512-Ag0KoHWUGf3l62I4v8izL+lOablE9Ee3p3i40fweDDvd3rCfm50DHdFMbvm0D65TcJkEuDZFJAkT9jSL6DrMAA==","signatures":[{"sig":"MEQCIFna1Hk4w28eolspjy2br2SiLMu0rMoEoAy4jwAu9freAiArxvsRLS2DVK2wQoK6m6Mb2vrD4UTjAOxQOuqMjKoWWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66512},"type":"module","_from":"file:remix-run-mime-0.2.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"node --disable-warning=ExperimentalWarning --test","build":"tsgo -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node --disable-warning=ExperimentalWarning ./scripts/codegen.js","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:626e2dc1-8f47-410a-b90c-9a64125de51c"}},"_resolved":"/tmp/89d34378e44adfe05bac03f13206a144/remix-run-mime-0.2.0.tgz","_integrity":"sha512-Ag0KoHWUGf3l62I4v8izL+lOablE9Ee3p3i40fweDDvd3rCfm50DHdFMbvm0D65TcJkEuDZFJAkT9jSL6DrMAA==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.6.2","description":"Utilities for working with MIME types","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","@types/node":"^24.6.0","@typescript/native-preview":"7.0.0-dev.20251125.1"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.2.0_1766081261621_0.821226859333589","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@remix-run/mime","version":"0.3.0","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.3.0","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"4d173a004ad624216cb869de281db89ff7d09a80","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.3.0.tgz","fileCount":35,"integrity":"sha512-/t4gg4oOSXuI41HTdl4xbrV6VhjFiyGpA7eU7498EcaFfZ1flKdi5EqKrybH0plompB1mukCQhM9lLwiKGqOug==","signatures":[{"sig":"MEUCIGiQkj1pNfhXvVKcMyTFMF/T47A1Hz+n4ZLBISbHuL7tAiEAvoHss0OL3dW3z5oPZ2NdC3swdDCznMKizpuT+MceFDE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76505},"type":"module","_from":"file:remix-run-mime-0.3.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"node --disable-warning=ExperimentalWarning --test","build":"tsgo -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node --disable-warning=ExperimentalWarning ./scripts/codegen.js","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:626e2dc1-8f47-410a-b90c-9a64125de51c"}},"_resolved":"/tmp/5edd94016583b3193ac89829a7f99ee3/remix-run-mime-0.3.0.tgz","_integrity":"sha512-/t4gg4oOSXuI41HTdl4xbrV6VhjFiyGpA7eU7498EcaFfZ1flKdi5EqKrybH0plompB1mukCQhM9lLwiKGqOug==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.6.2","description":"Utilities for working with MIME types","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","@types/node":"^24.6.0","@typescript/native-preview":"7.0.0-dev.20251125.1"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.3.0_1768948077907_0.29852874824019326","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@remix-run/mime","version":"0.4.0","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.4.0","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"b894b4bf494b810bfccd9435a1f1bdf3f936315d","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.4.0.tgz","fileCount":35,"integrity":"sha512-O6TcTL6CtuX82Q8BHqAere5O+0hYcrzSgY9whsDOBuqbW753Rczprs2jYw3qCDSo0kLxykW4ys3qgZcdgZ+chw==","signatures":[{"sig":"MEYCIQD2LCmr7lcgKexzQIS4dI939qFEENsQrM+bIhK1teqwfgIhAI6IBWbQJ/ofeuyRPGIuFmsV+bFBG5h4fqTKbdyUwrsZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":120892},"type":"module","_from":"file:remix-run-mime-0.4.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"node --disable-warning=ExperimentalWarning --test","build":"tsgo -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node --disable-warning=ExperimentalWarning ./scripts/codegen.ts","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:626e2dc1-8f47-410a-b90c-9a64125de51c"}},"_resolved":"/tmp/99f03a090995417eb95dd7e392dea4ca/remix-run-mime-0.4.0.tgz","_integrity":"sha512-O6TcTL6CtuX82Q8BHqAere5O+0hYcrzSgY9whsDOBuqbW753Rczprs2jYw3qCDSo0kLxykW4ys3qgZcdgZ+chw==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.10.1","description":"Utilities for working with MIME types","directories":{},"_nodeVersion":"25.7.0","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","@types/node":"^24.6.0","@typescript/native-preview":"7.0.0-dev.20251125.1"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.4.0_1772239265766_0.6489127137614137","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@remix-run/mime","version":"0.4.1","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.4.1","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"d816e2007633b9a57e2cc589ebb360af86176fbe","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.4.1.tgz","fileCount":35,"integrity":"sha512-n0DUUwpHiDrtHCSw6YFbjeMjajj7STqwzK9PMJkQOHbvOarfPdQdRRMkRqYPBmhu6ABzb6sAdYRSrxPx50I5VQ==","signatures":[{"sig":"MEQCIGf7O1SJANmI7B6brd4/BZ3BzcDoxTv7rCUFlhwB7XFHAiB/191fv7kZYQi/jmR8/ZvOIqXHlqYZ2CzZLsnwFNTEDg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":121388},"type":"module","_from":"file:remix-run-mime-0.4.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"remix-test","build":"tsgo -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node ./scripts/codegen.ts","test:bun":"bun x --bun remix-test","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:626e2dc1-8f47-410a-b90c-9a64125de51c"}},"_resolved":"/tmp/a7c5720869b1e40f8fa18713874733fb/remix-run-mime-0.4.1.tgz","_integrity":"sha512-n0DUUwpHiDrtHCSw6YFbjeMjajj7STqwzK9PMJkQOHbvOarfPdQdRRMkRqYPBmhu6ABzb6sAdYRSrxPx50I5VQ==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.11.0","description":"Utilities for working with MIME types","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","@types/node":"^24.6.0","@remix-run/test":"0.2.0","@remix-run/assert":"0.1.0","@typescript/native-preview":"7.0.0-dev.20251125.1"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.4.1_1777483769940_0.09558289553883026","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@remix-run/mime","version":"0.4.2","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.4.2","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"e634209e13a0f43b93649165d7ec912c36934103","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.4.2.tgz","fileCount":35,"integrity":"sha512-KpZZxBYIrLsvUtt2ZdwK+E2ClVmyvW11Nej6fPgwJpohBMpbCHtR78wtCTv0vqvK5ckLZ7ks2q4pV5dMYFypiA==","signatures":[{"sig":"MEQCIFxab5aJGE5xnq0r1EFKg9ZvGrHOpt7f6D+Gu/C3kEeaAiBQrRPRujDfFUgwXMp0ydp0meZrjhLklOjMeJBE0TRpBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":123635},"type":"module","_from":"file:remix-run-mime-0.4.2.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"remix-test","build":"tsgo -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node ./scripts/codegen.ts","test:bun":"bun x --bun remix-test","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:626e2dc1-8f47-410a-b90c-9a64125de51c"}},"_resolved":"/tmp/fddaf7b09f77b03db8e6f95004b6cca4/remix-run-mime-0.4.2.tgz","_integrity":"sha512-KpZZxBYIrLsvUtt2ZdwK+E2ClVmyvW11Nej6fPgwJpohBMpbCHtR78wtCTv0vqvK5ckLZ7ks2q4pV5dMYFypiA==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.13.0","description":"Utilities for working with MIME types","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","@types/node":"^24.6.0","@remix-run/test":"0.5.0","@remix-run/assert":"0.3.0","@typescript/native-preview":"7.0.0-dev.20251125.1"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.4.2_1782932498593_0.38495502959482075","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@remix-run/mime","version":"0.4.3","keywords":["mime","mime-type","media-type","content-type","compressible"],"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","_id":"@remix-run/mime@0.4.3","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"2c649ffe8889870702bf61b9cecd673ae2145d43","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-0.4.3.tgz","fileCount":35,"integrity":"sha512-O4mcl72Mn4R4VjLczsmkYIxZVQs9DlRKTLZrkJzZTl2VS3BKcRBZp5K+ezhL2qg2mlDtvxGGuJ2Eq8TelZXSEA==","signatures":[{"sig":"MEQCIEFgcj13vZBikI8Vvv/SyPI4MRTXw0gCGcKQS6fNaJK4AiAxD3D74gbhCON14rJ5RfkZpTmAxriyzj2sxjBbadD68Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGghROf20KAW1Gw19fUu7aS02r1fPOJigMOnEkBin4FDAiEA34sY7QsT0T8IL967lHkzJXLRBWkDbso7J6JcznxukPc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":123627},"type":"module","_from":"file:/tmp/remix-publish-mime-vSK6cR/remix-run-mime-0.4.3.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"remix test","build":"tsc -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node ./scripts/codegen.ts","test:bun":"bun x --bun remix test","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"626e2dc1-8f47-410a-b90c-9a64125de51c"}},"_resolved":"/tmp/remix-publish-mime-vSK6cR/remix-run-mime-0.4.3.tgz","_integrity":"sha512-O4mcl72Mn4R4VjLczsmkYIxZVQs9DlRKTLZrkJzZTl2VS3BKcRBZp5K+ezhL2qg2mlDtvxGGuJ2Eq8TelZXSEA==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.19.0","description":"Utilities for working with MIME types","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","typescript":"^7.0.2","@types/node":"^24.6.0","@remix-run/test":"0.6.2","@remix-run/assert":"0.3.1"},"_npmOperationalInternal":{"tmp":"tmp/mime_0.4.3_1790631664741_0.848410102529817","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"_id":"@remix-run/mime@1.0.0","bugs":{"url":"https://github.com/remix-run/remix/issues"},"dist":{"shasum":"1410f488d1370cd4d7cdc9ed86e1c962500b513e","tarball":"https://registry.npmjs.org/@remix-run/mime/-/mime-1.0.0.tgz","fileCount":35,"integrity":"sha512-oOPL/TMsNIbfNpSzjtZhTmIeqfgCYM3mQOYs13UsHKTmgLRgKfiNz4B1q/SN3juhCrtPwDwjwUEx1Vn8vp9SEg==","signatures":[{"sig":"MEUCIQCWzNjzx78k2+vFwELiCVG+uiY5qN7Y5PKhUb9C9ynVDAIgRbWijMbiHDUuNMO86CwKlNWnB0CaKck3qL3olL9U8dE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCbAqdW5XpahALeCPvsNH8iBZts0WXd9n0ImY30wVK2wwIgDSTmmG7bH9gPctAc8OgewLOdp6Ei7A1ALx4xypsduM8="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@remix-run%2fmime@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":123627},"name":"@remix-run/mime","type":"module","_from":"file:/tmp/remix-publish-mime-Sclh5i/remix-run-mime-1.0.0.tgz","author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"license":"MIT","scripts":{"test":"remix test","build":"tsc -p tsconfig.build.json","clean":"git clean -fdX","codegen":"node ./scripts/codegen.ts","test:bun":"bun x --bun remix test","typecheck":"tsc --noEmit"},"version":"1.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"626e2dc1-8f47-410a-b90c-9a64125de51c"}},"homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","keywords":["mime","mime-type","media-type","content-type","compressible"],"_resolved":"/tmp/remix-publish-mime-Sclh5i/remix-run-mime-1.0.0.tgz","_integrity":"sha512-oOPL/TMsNIbfNpSzjtZhTmIeqfgCYM3mQOYs13UsHKTmgLRgKfiNz4B1q/SN3juhCrtPwDwjwUEx1Vn8vp9SEg==","repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"_npmVersion":"11.19.0","description":"Utilities for working with MIME types","directories":{},"maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"mime-db":"^1.53.0","typescript":"^7.0.2","@types/node":"^24.6.0","@remix-run/test":"1.0.0","@remix-run/assert":"1.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mime_1.0.0_1790895199284_0.1526114506267442"}}},"time":{"created":"2025-11-25T22:48:55.188Z","modified":"2026-10-01T22:53:22.601Z","0.0.0":"2025-11-25T22:48:55.441Z","0.1.0":"2025-11-25T22:53:03.969Z","0.2.0":"2025-12-18T18:07:41.765Z","0.3.0":"2026-01-20T22:27:58.075Z","0.4.0":"2026-02-28T00:41:05.956Z","0.4.1":"2026-04-29T17:29:30.084Z","0.4.2":"2026-07-01T19:01:38.808Z","0.4.3":"2026-09-28T21:41:04.947Z","1.0.0":"2026-10-01T22:53:19.371Z"},"bugs":{"url":"https://github.com/remix-run/remix/issues"},"author":{"name":"Michael Jackson","email":"mjijackson@gmail.com"},"license":"MIT","homepage":"https://github.com/remix-run/remix/tree/main/packages/mime#readme","keywords":["mime","mime-type","media-type","content-type","compressible"],"repository":{"url":"git+https://github.com/remix-run/remix.git","type":"git","directory":"packages/mime"},"description":"Utilities for working with MIME types","maintainers":[{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"readme":"# mime\n\nMIME type detection and content-type helpers for Remix. This package maps extensions to MIME types and provides utilities for charset and compressibility checks.\n\n## Features\n\n- **MIME Detection** - Detect MIME types from extensions and filenames\n- **Content-Type Helpers** - Build `Content-Type` values with charset handling\n- **Compression Signals** - Check whether a media type is likely compressible\n- **Generated Data** - Built from [mime-db](https://github.com/jshttp/mime-db)\n\n## Installation\n\n```sh\nnpm i remix\n```\n\n## Usage\n\n### `detectMimeType(extension)`\n\nDetects the MIME type for a given file extension or filename.\n\n```ts\nimport { detectMimeType } from 'remix/mime'\n\ndetectMimeType('txt') // 'text/plain'\ndetectMimeType('.txt') // 'text/plain'\ndetectMimeType('file.txt') // 'text/plain'\ndetectMimeType('path/to/file.txt') // 'text/plain'\ndetectMimeType('unknown') // undefined\n```\n\n### `detectContentType(extension)`\n\nDetects the Content-Type header value for a given file extension or filename, including `charset` for text-based types. See [`mimeTypeToContentType`](#mimetypetocontenttypemimetype) for charset logic.\n\n```ts\nimport { detectContentType } from 'remix/mime'\n\ndetectContentType('css') // 'text/css; charset=utf-8'\ndetectContentType('.json') // 'application/json; charset=utf-8'\ndetectContentType('image.png') // 'image/png'\ndetectContentType('path/to/file.unknown') // undefined\n```\n\n### `isCompressibleMimeType(mimeType)`\n\nChecks if a MIME type is known to be compressible.\n\n```ts\nimport { isCompressibleMimeType } from 'remix/mime'\n\nisCompressibleMimeType('text/html') // true\nisCompressibleMimeType('application/json') // true\nisCompressibleMimeType('image/png') // false\nisCompressibleMimeType('video/mp4') // false\n```\n\nFor convenience, the function also accepts a full Content-Type header value:\n\n```ts\nimport { isCompressibleMimeType } from 'remix/mime'\n\nisCompressibleMimeType('text/html; charset=utf-8') // true\nisCompressibleMimeType('application/json; charset=utf-8') // true\nisCompressibleMimeType('image/png; charset=utf-8') // false\nisCompressibleMimeType('video/mp4; charset=utf-8') // false\n```\n\n### `mimeTypeToContentType(mimeType)`\n\nConverts a MIME type to a Content-Type header value, adding `; charset=utf-8` to text-based MIME types: `text/*` (except `text/xml` which has built-in encoding declarations), `application/json`, `application/javascript`, and all `+json` suffixed types. All other types are returned unchanged.\n\n```ts\nimport { mimeTypeToContentType } from 'remix/mime'\n\nmimeTypeToContentType('text/css') // 'text/css; charset=utf-8'\nmimeTypeToContentType('application/json') // 'application/json; charset=utf-8'\nmimeTypeToContentType('application/ld+json') // 'application/ld+json; charset=utf-8'\nmimeTypeToContentType('image/png') // 'image/png'\n```\n\n### `defineMimeType(definition)`\n\nRegisters or overrides a MIME type for one or more file extensions.\n\n```ts\nimport { defineMimeType, detectMimeType } from 'remix/mime'\n\ndefineMimeType({\n  extensions: ['myformat'],\n  mimeType: 'application/x-myformat',\n})\n\ndefineMimeType({\n  extensions: ['be.pit'],\n  mimeType: 'application/x-be-pit-document',\n})\n\ndetectMimeType('filename.be.pit') // 'application/x-be-pit-document'\n```\n\nYou can also optionally configure the charset and whether the MIME type is compressible:\n\n```ts\ndefineMimeType({\n  extensions: ['myformat'],\n  mimeType: 'application/x-myformat',\n  compressible: true,\n  charset: 'utf-8',\n})\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}