@koa/multer
Version:
Route middleware for Koa that handles `multipart/form-data` using multer
135 lines (134 loc) • 2.9 kB
JSON
{
"name": "@koa/multer",
"description": "Route middleware for Koa that handles `multipart/form-data` using multer",
"version": "4.0.0",
"author": {
"name": "Fangdun Cai",
"email": "cfddream@gmail.com"
},
"bugs": {
"url": "https://github.com/koajs/multer/issues",
"email": "niftylettuce@gmail.com"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"contributors": [
{
"name": "Nick Baugh",
"email": "niftylettuce@gmail.com",
"url": "http://niftylettuce.com/"
},
{
"name": "Imed Jaberi",
"email": "imed_jebari@hotmail.fr",
"url": "https://www.3imed-jaberi.com/"
}
],
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@koa/router": "^13",
"concat-stream": "^2",
"eslint-config-xo-lass": "^2.0.1",
"fix-esm": "^1.0.1",
"fixpack": "^4.0.0",
"form-data": "^4",
"fs-temp": "^2",
"husky": "^9.1.7",
"koa": "^3",
"lint-staged": "^16.0.0",
"mocha": "^11.3.0",
"multer": "1",
"nyc": "^17.1.0",
"on-finished": "^2",
"remark-cli": "^11.0.0",
"remark-preset-github": "^4.0.4",
"rimraf": "^6",
"testdata-w3c-json-form": "^1",
"xo": "^0.60.0"
},
"engines": {
"node": ">= 18"
},
"files": [
"LICENSE",
"README.md",
"index.js"
],
"homepage": "https://github.com/koajs/multer",
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"keywords": [
"form",
"form-data",
"formdata",
"koa",
"middleware",
"multipart",
"post"
],
"license": "MIT",
"lint-staged": {
"linters": {
"*.js": [
"xo --fix",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
],
"package.json": [
"fixpack",
"git add"
]
}
},
"main": "index.js",
"peerDependencies": {
"koa": ">=2",
"multer": "*"
},
"prettier": {
"singleQuote": true,
"bracketSpacing": true,
"trailingComma": "none"
},
"publishConfig": {
"access": "public"
},
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"repository": {
"type": "git",
"url": "https://github.com/koajs/multer"
},
"scripts": {
"lint": "xo && remark . -qfo",
"test": "npm run lint && mocha --exit",
"test-ci": "nyc npm run test --reporter=lcov"
},
"xo": {
"prettier": true,
"space": true,
"extends": [
"xo-lass"
],
"rules": {
"node/no-deprecated-api": "off",
"no-unused-vars": "off",
"no-prototype-builtins": "off",
"prefer-rest-params": "off"
}
}
}