{
	"name": "express-formidable",
	"versions": {
		"0.1.0": {
			"name": "express-formidable",
			"version": "0.1.0",
			"description": "An Express middleware of Formidable that just works.",
			"author": {
				"name": "Hyunje Alex Jun",
				"email": "me@noraesae.net"
			},
			"contributors": [
				{
					"name": "Hyunje Alex Jun",
					"email": "me@noraesae.net"
				}
			],
			"main": "./lib/middleware.js",
			"scripts": {
				"test": "make lint",
				"prepublish": "make build"
			},
			"repository": {
				"type": "git",
				"url": "https://github.com/noraesae/express-formidable.git"
			},
			"keywords": [
				"express",
				"middleware",
				"formidable"
			],
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/noraesae/express-formidable/issues"
			},
			"homepage": "https://github.com/noraesae/express-formidable",
			"dependencies": {
				"formidable": "^1.0.17",
				"underscore": "^1.8.3"
			},
			"devDependencies": {
				"express": "^4.13.3",
				"tslint": "^2.4.5",
				"typescript": "^1.5.3"
			},
			"gitHead": "5e66d96a915a5e576dfca7e75346dd38bbc4aad1",
			"_id": "express-formidable@0.1.0",
			"_shasum": "b7a6dbcd961240b46e81d5c7677d7dc2afefd1ad",
			"_from": ".",
			"_npmVersion": "2.5.1",
			"_nodeVersion": "0.12.0",
			"_npmUser": {
				"name": "noraesae",
				"email": "me@noraesae.net"
			},
			"maintainers": [
				{
					"name": "noraesae",
					"email": "me@noraesae.net"
				}
			],
			"dist": {
				"shasum": "b7a6dbcd961240b46e81d5c7677d7dc2afefd1ad",
				"tarball": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.0.tgz"
			},
			"directories": {}
		},
		"0.1.1": {
			"name": "express-formidable",
			"version": "0.1.1",
			"description": "An Express middleware of Formidable that just works.",
			"author": {
				"name": "Hyunje Alex Jun",
				"email": "me@noraesae.net"
			},
			"contributors": [
				{
					"name": "Hyunje Alex Jun",
					"email": "me@noraesae.net"
				}
			],
			"main": "./lib/middleware.js",
			"typescript": {
				"definition": "./express-formidable.d.ts"
			},
			"scripts": {
				"test": "make lint",
				"prepublish": "make build"
			},
			"repository": {
				"type": "git",
				"url": "https://github.com/noraesae/express-formidable.git"
			},
			"keywords": [
				"express",
				"middleware",
				"formidable"
			],
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/noraesae/express-formidable/issues"
			},
			"homepage": "https://github.com/noraesae/express-formidable",
			"dependencies": {
				"formidable": "^1.0.17",
				"underscore": "^1.8.3"
			},
			"devDependencies": {
				"dts-bundle": "^0.3.0",
				"express": "^4.13.3",
				"tslint": "^2.4.5",
				"typescript": "^1.5.3"
			},
			"gitHead": "a6b1143c6c5cd645e2601d54e5193378b3cbd117",
			"_id": "express-formidable@0.1.1",
			"_shasum": "6b62b70d99ad01558ab464d7ed049f411a92c55e",
			"_from": ".",
			"_npmVersion": "2.5.1",
			"_nodeVersion": "0.12.0",
			"_npmUser": {
				"name": "noraesae",
				"email": "me@noraesae.net"
			},
			"maintainers": [
				{
					"name": "noraesae",
					"email": "me@noraesae.net"
				}
			],
			"dist": {
				"shasum": "6b62b70d99ad01558ab464d7ed049f411a92c55e",
				"tarball": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.1.tgz"
			},
			"directories": {}
		},
		"0.1.2": {
			"name": "express-formidable",
			"version": "0.1.2",
			"description": "An Express middleware of Formidable that just works.",
			"author": {
				"name": "Hyunje Alex Jun",
				"email": "me@noraesae.net"
			},
			"contributors": [
				{
					"name": "Hyunje Alex Jun",
					"email": "me@noraesae.net"
				}
			],
			"main": "./lib/middleware.js",
			"typescript": {
				"definition": "./express-formidable.d.ts"
			},
			"scripts": {
				"test": "make lint",
				"prepublish": "make build"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/noraesae/express-formidable.git"
			},
			"keywords": [
				"express",
				"middleware",
				"formidable"
			],
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/noraesae/express-formidable/issues"
			},
			"homepage": "https://github.com/noraesae/express-formidable",
			"dependencies": {
				"formidable": "^1.0.17",
				"underscore": "^1.8.3"
			},
			"devDependencies": {
				"dts-bundle": "^0.3.0",
				"express": "^4.13.3",
				"tslint": "^2.4.5",
				"typescript": "^1.5.3"
			},
			"gitHead": "7a5e90c95d7431a412154075765dc05ee953a31c",
			"_id": "express-formidable@0.1.2",
			"_shasum": "0ec9dad72fc15a82831224b1f18f087462d898a8",
			"_from": ".",
			"_npmVersion": "3.3.6",
			"_nodeVersion": "5.0.0",
			"_npmUser": {
				"name": "noraesae",
				"email": "me@noraesae.net"
			},
			"maintainers": [
				{
					"name": "noraesae",
					"email": "me@noraesae.net"
				}
			],
			"dist": {
				"shasum": "0ec9dad72fc15a82831224b1f18f087462d898a8",
				"tarball": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.2.tgz"
			},
			"directories": {}
		},
		"0.1.3": {
			"name": "express-formidable",
			"version": "0.1.3",
			"description": "An Express middleware of Formidable that just works.",
			"author": {
				"name": "Hyunje Alex Jun",
				"email": "me@noraesae.net"
			},
			"contributors": [
				{
					"name": "Hyunje Alex Jun",
					"email": "me@noraesae.net"
				}
			],
			"main": "./lib/middleware.js",
			"typescript": {
				"definition": "./express-formidable.d.ts"
			},
			"scripts": {
				"test": "make lint",
				"prepublish": "make build"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/noraesae/express-formidable.git"
			},
			"keywords": [
				"express",
				"middleware",
				"formidable"
			],
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/noraesae/express-formidable/issues"
			},
			"homepage": "https://github.com/noraesae/express-formidable",
			"dependencies": {
				"formidable": "^1.0.17",
				"underscore": "^1.8.3"
			},
			"devDependencies": {
				"dts-bundle": "^0.3.0",
				"express": "^4.13.3",
				"tslint": "^2.4.5",
				"typescript": "^1.5.3"
			},
			"typings": "express-formidable.d.ts",
			"gitHead": "6f54c20cad4df963e0fef6d0fca84692b0e1677f",
			"_id": "express-formidable@0.1.3",
			"_shasum": "569f65c8c0ed5a726b5acab5b7d633d477d4bef2",
			"_from": ".",
			"_npmVersion": "3.8.6",
			"_nodeVersion": "6.1.0",
			"_npmUser": {
				"name": "noraesae",
				"email": "me@noraesae.net"
			},
			"dist": {
				"shasum": "569f65c8c0ed5a726b5acab5b7d633d477d4bef2",
				"tarball": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.3.tgz"
			},
			"maintainers": [
				{
					"name": "noraesae",
					"email": "me@noraesae.net"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-16-east.internal.npmjs.com",
				"tmp": "tmp/express-formidable-0.1.3.tgz_1467534565826_0.09954724926501513"
			},
			"directories": {}
		},
		"1.0.0": {
			"name": "express-formidable",
			"version": "1.0.0",
			"description": "An Express middleware of Formidable that just works.",
			"author": {
				"name": "Jun",
				"email": "me@noraesae.net"
			},
			"main": "./lib/middleware.js",
			"engines": {
				"node": ">= 4"
			},
			"scripts": {
				"test": "eslint . && mocha test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/noraesae/express-formidable.git"
			},
			"keywords": [
				"express",
				"middleware",
				"formidable"
			],
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/noraesae/express-formidable/issues"
			},
			"homepage": "https://github.com/noraesae/express-formidable",
			"dependencies": {
				"formidable": "^1.0.17"
			},
			"devDependencies": {
				"eslint": "^3.7.1",
				"eslint-config-airbnb-base": "^8.0.0",
				"eslint-plugin-import": "^1.16.0",
				"express": "^4.14.0",
				"mocha": "^3.1.0",
				"request": "^2.75.0"
			},
			"gitHead": "ab2f6f83ef4aab313b5c1b3b3b1e1b0010db5136",
			"_id": "express-formidable@1.0.0",
			"_shasum": "dc922f0455132322458a9ec1a301d891b3ffca8d",
			"_from": ".",
			"_npmVersion": "2.15.8",
			"_nodeVersion": "4.4.7",
			"_npmUser": {
				"name": "noraesae",
				"email": "me@noraesae.net"
			},
			"dist": {
				"shasum": "dc922f0455132322458a9ec1a301d891b3ffca8d",
				"tarball": "https://registry.npmjs.org/express-formidable/-/express-formidable-1.0.0.tgz"
			},
			"maintainers": [
				{
					"name": "noraesae",
					"email": "me@noraesae.net"
				}
			],
			"_npmOperationalInternal": {
				"host": "packages-16-east.internal.npmjs.com",
				"tmp": "tmp/express-formidable-1.0.0.tgz_1475681783134_0.5174125619232655"
			},
			"directories": {},
			"contributors": []
		},
		"1.2.0": {
			"name": "express-formidable",
			"version": "1.2.0",
			"description": "An Express middleware of Formidable that just works.",
			"author": {
				"name": "Jun",
				"email": "me@noraesae.net"
			},
			"main": "./lib/middleware.js",
			"engines": {
				"node": ">= 8"
			},
			"scripts": {
				"test": "eslint . && jest test/middleware.test.js --forceExit --detectOpenHandles"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/noraesae/express-formidable.git"
			},
			"keywords": [
				"express",
				"middleware",
				"formidable"
			],
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/noraesae/express-formidable/issues"
			},
			"homepage": "https://github.com/noraesae/express-formidable",
			"dependencies": {
				"formidable": "^1.0.17"
			},
			"devDependencies": {
				"eslint": "^3.7.1",
				"eslint-config-airbnb-base": "^8.0.0",
				"eslint-plugin-import": "^1.16.0",
				"express": "^4.14.0",
				"jest": "^23.6.0",
				"request": "^2.88.0"
			},
			"gitHead": "3bba355d6a0840a680f6a4d0b90651bea03966aa",
			"_id": "express-formidable@1.2.0",
			"_npmVersion": "6.4.1",
			"_nodeVersion": "8.9.0",
			"_npmUser": {
				"name": "utatti",
				"email": "me@noraesae.net"
			},
			"dist": {
				"integrity": "sha512-w1vXjF3gb50UKTNkFaW8/4rqY4dUrKfZ1sAZzwAF9YxCAgj/29QZsycf71di0GkskrZOAkubk9pvGYfxyAMYiw==",
				"shasum": "6b05bc05da9e4cd712cac166fcb41ef7172b760c",
				"tarball": "https://registry.npmjs.org/express-formidable/-/express-formidable-1.2.0.tgz",
				"fileCount": 5,
				"unpackedSize": 5717,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbza7YCRA9TVsSAnZWagAA5loP/ixCcrZ/CbQI3REDC07A\nt+gogifwznCd4lai4zg3j9OY+lEPJWPgUO31qdaAI2JLFcqTCO9heuTqgo7z\nwgG1cG8tDRfK76KQGv9WaoIlsXf2+Eb1B8oaM4PtT7/nGC9fmlWpHug9yoHM\nlX3CCre6UVew9z44W6m/pAjtmw/g0+5lW4xtwljZv7Z65wanSK00Q+qGFZxO\ndvR6mQdODuig9fl8OBE+ePb6FxzkJJDbBSvf4+WeTByHEFx1lhKxmUEXZwqi\naI0ygY3/hlyzeTn5zimf2OMXRLwo2Ton6D1O4VwtoAjBamjLBZBaPOinwaR1\nu6wIwVZbxAIXWPOeipUF5J9CoKEuzpuSWxWXP2n7yXW2XlwTfrmzvOhB5rXN\n/IOX7R02amMDecCUJVWKPj2yUvG20l5ILlPbrqdiVcEoaIPEDKjflTrZlKJE\nO1yUpnC33G60UYtbNPEL+GGTwCg6X/Qew5PG9eGPGZtPeKVsuDkGXu+3dYWR\njYojwau1OpgiLBybJkH4cx4GqhPFEC3J4d6aLsQSC0I9zcE05DQHrtA8Tr9r\n3HyNOCiBFAqMO7Slpskw9cobewNeOgjDnqN7KoLAwreEsHd108RsS0Ai3mwT\npz0qIYpr0hEvtqnz+sEUcxPOy6e9XruRfYCjDKQbBLIsoXTdmiz2lAMnRDs4\nx74p\r\n=y9yX\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"email": "me@noraesae.net",
					"name": "utatti"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/express-formidable_1.2.0_1540206295747_0.05106644341405353"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		}
	},
	"time": {
		"modified": "2019-01-03T20:35:17.255Z",
		"created": "2015-08-30T08:46:33.187Z",
		"0.1.0": "2015-08-30T08:46:33.187Z",
		"0.1.1": "2015-08-30T15:45:39.474Z",
		"0.1.2": "2015-11-23T16:09:20.885Z",
		"0.1.3": "2016-07-03T08:29:29.252Z",
		"1.0.0": "2016-10-05T15:36:26.158Z",
		"1.2.0": "2018-10-22T11:04:55.820Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "1.2.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"31ba74740356044cfa2cdbc78d0079b0\"",
			"fetched": 1594067206430
		}
	},
	"_distfiles": {
		"express-formidable-0.1.0.tgz": {
			"url": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.0.tgz",
			"sha": "b7a6dbcd961240b46e81d5c7677d7dc2afefd1ad",
			"registry": "npmjs"
		},
		"express-formidable-0.1.1.tgz": {
			"url": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.1.tgz",
			"sha": "6b62b70d99ad01558ab464d7ed049f411a92c55e",
			"registry": "npmjs"
		},
		"express-formidable-0.1.2.tgz": {
			"url": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.2.tgz",
			"sha": "0ec9dad72fc15a82831224b1f18f087462d898a8",
			"registry": "npmjs"
		},
		"express-formidable-0.1.3.tgz": {
			"url": "https://registry.npmjs.org/express-formidable/-/express-formidable-0.1.3.tgz",
			"sha": "569f65c8c0ed5a726b5acab5b7d633d477d4bef2",
			"registry": "npmjs"
		},
		"express-formidable-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/express-formidable/-/express-formidable-1.0.0.tgz",
			"sha": "dc922f0455132322458a9ec1a301d891b3ffca8d",
			"registry": "npmjs"
		},
		"express-formidable-1.2.0.tgz": {
			"url": "https://registry.npmjs.org/express-formidable/-/express-formidable-1.2.0.tgz",
			"sha": "6b05bc05da9e4cd712cac166fcb41ef7172b760c",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"express-formidable-1.2.0.tgz": {
			"shasum": "6b05bc05da9e4cd712cac166fcb41ef7172b760c"
		}
	},
	"_rev": "2-9538d28d5039c376",
	"_id": "express-formidable",
	"readme": "# express-formidable [![Build Status](https://travis-ci.org/noraesae/express-formidable.svg?branch=master)](https://travis-ci.org/noraesae/express-formidable)\n\nAn [Express](http://expressjs.com) middleware of\n[Formidable](https://github.com/felixge/node-formidable) that just works.\n\n## What are Express, Formidable, and this?\n\n[Express](http://expressjs.com) is a fast, unopinionated, minimalist web\nframework for Node.js.\n\n[Formidable](https://github.com/felixge/node-formidable) is a Node.js module\nfor parsing form data, including `multipart/form-data` file upload.\n\nSo, **`express-formidable`** is something like a bridge between them,\nspecifically an Express middleware implementation of Formidable.\n\nIt aims to just work.\n\n## Install\n\n```\nnpm install express-formidable\n```\n\n## How to use\n\n```js\nconst express = require('express');\nconst formidableMiddleware = require('express-formidable');\n\nvar app = express();\n\napp.use(formidableMiddleware());\n\napp.post('/upload', (req, res) => {\n  req.fields; // contains non-file fields\n  req.files; // contains files\n});\n```\n\nAnd that's it.\n\nexpress-formidable can basically parse form types Formidable can handle,\nincluding `application/x-www-form-urlencoded`, `application/json`, and\n`multipart/form-data`.\n\n## Option\n\n```js\napp.use(formidableMiddleware(opts));\n```\n\n`opts` are options which can be set to `form` in Formidable. For example:\n\n```js\napp.use(formidableMiddleware({\n  encoding: 'utf-8',\n  uploadDir: '/my/dir',\n  multiples: true, // req.files to be arrays of files\n});\n```\n\nFor the detail, please refer to the\n[Formidable API](https://github.com/felixge/node-formidable#api).\n\n## Events\n\n```js\napp.use(formidableMiddleware(opts, events));\n```\n\n`events` is an array of json with two field:\n\n| Field | Description |\n| ----- | ----------- |\n| `event` | The event emitted by the form of formidable. A complete list of all the possible events, please refer to the [Formidable Events](https://github.com/felixge/node-formidable#events) |\n| `action` | The callback to execute. The signature is `function (req, res, next, ...formidable_parameters)` |\n\nFor example:\n\n```js\nconst events = [\n  {\n    event: 'fileBegin',\n    action: function (req, res, next, name, file) { /* your callback */ }\n  }, \n  {\n    event: 'field',\n    action: function (req, res, next, name, value) { /* your callback */ }\n  }\n];\n```\n\n### Error event\n\nUnless an `error` event are provided by the `events` array parameter, it will handle by the standard `next(error)`.\n\n## Contribute\n\n```\ngit clone https://github.com/noraesae/express-formidable.git\ncd express-formidable\nnpm install\n```\n\nTo lint and test:\n\n```\nnpm test\n```\n\n## License\n\n[MIT](LICENSE)"
}