UNPKG

detect-file-type

Version:
49 lines (48 loc) 1.06 kB
{ "name": "detect-file-type", "version": "0.2.8", "description": "Detect file type by signature", "main": "lib/index.js", "scripts": { "build": "babel -d lib src", "prepublishOnly": "npm test && npm run build", "test": "mocha --require @babel/register tests/test.js" }, "files": [ "lib/index.js", "signatures.json" ], "author": { "name": "Dmitry Pavlovsky", "email": "dima@paloskin.me", "url": "http://paloskin.me" }, "repository": "dimapaloskin/detect-file-type", "engines": { "node": ">=6.0.0" }, "keywords": [ "file", "type", "mime", "detect", "check", "uint8array", "check", "buffer" ], "license": "WTFPL", "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.4.0", "@babel/preset-env": "^7.4.2", "@babel/register": "^7.4.0", "chai": "^4.2.0", "is-html": "^1.0.0", "mocha": "^6.0.2" }, "dependencies": { "iconv-lite": "^0.5.1", "jschardet": "^2.1.1" } }