UNPKG

uti

Version:

javascript implementation of a "Uniform Type Identifier" (UTI)

70 lines (69 loc) 2.32 kB
{ "name": "uti", "version": "8.9.1", "publishConfig": { "access": "public", "provenance": true }, "types": "./types/uti.d.mts", "exports": { ".": { "types": "./types/uti.d.mts", "default": "./src/uti.mjs" } }, "description": "javascript implementation of a \"Uniform Type Identifier\" (UTI)", "keywords": [ "MIME", "UTI", "file type" ], "contributors": [ { "name": "Markus Felten", "email": "markus.felten@gmx.de" } ], "license": "0BSD", "scripts": { "prepare": "node --run prepare:typescript", "prepare:typescript": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs", "test": "node --run test:browser-ava && node --run test:ava", "test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs", "test:browser-ava": "browser-ava --headless --no-keep-open tests/*-ava.mjs tests/*-ava-browser.mjs", "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp", "docs": "documentation readme --section=API ./src**/*.mjs", "lint": "node --run lint:docs && node --run lint:typescript", "lint:docs": "documentation lint ./src**/*.mjs", "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs" }, "devDependencies": { "ava": "^6.4.1", "browser-ava": "^2.3.31", "c8": "^10.1.3", "documentation": "^14.0.3", "semantic-release": "^24.2.7", "typescript": "^5.9.2" }, "engines": { "node": ">=22.18.0", "bun": ">=1.2.19" }, "repository": { "type": "git", "url": "git+https://github.com/arlac77/uti.git" }, "bugs": { "url": "https://github.com/arlac77/uti/issues" }, "homepage": "https://github.com/arlac77/uti#readme", "template": { "inheritFrom": [ "arlac77/template-arlac77-github", "arlac77/template-browser-ava", "arlac77/template-javascript-component", "arlac77/template-node-component", "arlac77/template-typescript" ] } }