UNPKG

file-type-checker

Version:

Detect and validate file types by their signatures (✨magic numbers✨)

103 lines (102 loc) 1.8 kB
{ "name": "file-type-checker", "version": "1.1.7", "description": "Detect and validate file types by their signatures (✨magic numbers✨)", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsc --declaration", "lint": "yarn eslint .", "test": "jest --config jest.config.js" }, "repository": { "type": "git", "url": "git+https://github.com/nir11/file-type-checker.git" }, "keywords": [ "file", "type", "checker", "signature", "magic", "numbers", "detect", "validate", "7z", "aac", "amr", "avi", "bmp", "bpg", "blend", "cr2", "doc", "elf", "exe", "exr", "flac", "flv", "gif", "heic", "ico", "indd", "jpeg", "lzh", "m4a", "m4v", "mach-o", "mkv", "mov", "mp3", "mp4", "ogg", "orc", "parquet", "pbm", "pcap", "pdf", "pgm", "png", "ppm", "psd", "ps", "rar", "rtf", "sqlite", "stl", "swf", "tiff", "ttf", "wav", "webm", "webp", "zip" ], "author": "Nir Almog", "license": "MIT", "engines": { "node": ">=18.0.0" }, "bugs": { "url": "https://github.com/nir11/file-type-checker/issues" }, "homepage": "https://github.com/nir11/file-type-checker#readme", "resolutions": { "@istanbuljs/schema/js-yaml": "3.14.2", "js-yaml": "4.1.1" }, "devDependencies": { "@types/jest": "^29.4.0", "@types/node": "^18.11.18", "@typescript-eslint/eslint-plugin": "^6.2.0", "@typescript-eslint/parser": "^6.2.0", "eslint": "^8.45.0", "eslint-plugin-jest": "^27.2.3", "jest": "^29.7.0", "ts-jest": "^29.0.5", "typescript": "^5.1.6" } }