mime-kind
Version:
Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.
54 lines (53 loc) • 1.23 kB
JSON
{
"name": "mime-kind",
"author": "Alexey Bystrov <strikeentco@gmail.com>",
"version": "4.0.0",
"description": "Detect the MIME type of a Buffer, Uint8Array, ArrayBuffer, ReadableStream, file path and file name, with async method.",
"engines": {
"node": ">=10"
},
"keywords": [
"file",
"type",
"types",
"mime",
"buffer",
"stream",
"read stream",
"readable stream",
"detect",
"sync",
"async"
],
"main": "./index.js",
"files": [
"index.js",
"utils.js"
],
"scripts": {
"test": "mocha test",
"lint": "eslint index.js utils.js",
"check": "npm run lint && npm run test",
"cover": "nyc ./node_modules/mocha/bin/_mocha && nyc report --reporter=html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/strikeentco/mime-kind.git"
},
"bugs": {
"url": "https://github.com/strikeentco/mime-kind/issues"
},
"dependencies": {
"file-type": "^16.5.4",
"mime-types": "^2.1.24"
},
"devDependencies": {
"eslint": "^8.24.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"mocha": "^6.2.3",
"nyc": "^14.1.1",
"should": "^13.2.3"
},
"license": "MIT"
}