stream-mime-type
Version:
Get the mime type of a stream
67 lines (66 loc) • 1.52 kB
JSON
{
"name": "stream-mime-type",
"version": "2.0.0",
"description": "Get the mime type of a stream",
"author": "Gustaf Räntilä",
"license": "MIT",
"bugs": {
"url": "https://github.com/grantila/stream-mime-type/issues"
},
"homepage": "https://github.com/grantila/stream-mime-type#readme",
"type": "module",
"sideEffects": false,
"files": [
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"engines": {
"node": ">=14.13.1"
},
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.prod.json",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"cz": "git-cz"
},
"pre-commit": [
"build",
"test"
],
"repository": {
"type": "git",
"url": "https://github.com/grantila/stream-mime-type"
},
"keywords": [
"stream",
"mime",
"content",
"type",
"mime-type",
"content-type"
],
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.4.0",
"@types/mime-types": "^2.1.1",
"cz-conventional-changelog": "^3.3.0",
"jest": "^29.4.1",
"pre-commit": "^1.2.2",
"rimraf": "^4.1.2",
"ts-jest-resolver": "^2.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"file-type": "^18.2.0",
"mime-types": "^2.1.35",
"stream-head": "^3.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "yarn@3.2.4"
}