UNPKG

mime2ext

Version:

Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.

37 lines (36 loc) 853 B
{ "name": "mime2ext", "repository": "github:fabiospampinato/mime2ext", "description": "Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.", "license": "MIT", "version": "2.0.1", "type": "module", "main": "dist/index.js", "exports": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "clean": "tsex clean", "compile": "tsex compile", "compile:watch": "tsex compile --watch", "test": "tsex test", "test:watch": "tsex test --watch", "prepublishOnly": "tsex prepare" }, "keywords": [ "mime", "mime-type", "detect", "infer", "convert", "ext", "extension" ], "dependencies": { "mime-standard": "^1.0.3" }, "devDependencies": { "fava": "^0.3.4", "tsex": "^4.0.2", "typescript": "^5.7.3" } }