stream-mmmagic
Version:
sniff the start of a stream (non-destructively) to detect the file type and encoding
39 lines (38 loc) • 900 B
JSON
{
"name": "stream-mmmagic",
"version": "2.3.0",
"description": "sniff the start of a stream (non-destructively) to detect the file type and encoding",
"main": "lib/stream-mmmagic.js",
"types": "lib/stream-mmmagic.d.ts",
"scripts": {
"test": "mocha test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/seangarner/node-stream-mmmagic.git"
},
"keywords": [
"stream",
"mmmagic",
"sniff",
"filetype",
"mime",
"detection",
"encoding"
],
"author": "Sean Garner",
"license": "MIT",
"bugs": {
"url": "https://github.com/seangarner/node-stream-mmmagic/issues"
},
"homepage": "https://github.com/seangarner/node-stream-mmmagic",
"dependencies": {
"buffer-peek-stream": "^1.1.0",
"mmmagic": "^0.5.0"
},
"devDependencies": {
"chai": "^4.3.4",
"concat-stream": "^2.0.0",
"mocha": "^9.0.2"
}
}