mime-types
mime-types copied to clipboard
feat!: resolve extension conflicts with mime-score, close #116
Adds the mime-score module logic for resolving extension conflicts.
The published mime-score module is now ESM-only, so I've just copy-pasted the logic here, back-ported to CommonJS.
The new test shows which extension->type mappings change as a result of this PR.