UNPKG

media-type-detector

Version:

Detects and categorizes media files (image, video, document, etc.) from a Blob using file-type.

49 lines (48 loc) 1.13 kB
{ "name": "media-type-detector", "version": "1.0.3", "description": "Detects and categorizes media files (image, video, document, etc.) from a Blob using file-type.", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "scripts": { "build": "tsc", "test": "jest" }, "keywords": [ "media", "file", "blob", "detector", "mime", "file-type", "react", "typescript" ], "author": "Mbulelo Phillip Peyi", "license": "MIT", "dependencies": { "file-type": "^21.0.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.15.24", "jest": "^29.7.0", "jest-environment-jsdom": "^30.0.0-beta.3", "ts-jest": "^29.3.4", "typescript": "^5.8.3" }, "repository": { "type": "git", "url": "git+https://github.com/Mbulelo-Peyi/media-type-detector.git" }, "bugs": { "url": "https://github.com/Mbulelo-Peyi/media-type-detector/issues" }, "homepage": "https://github.com/Mbulelo-Peyi/media-type-detector#readme" }