{"_id":"koa-validate","_rev":"84-f4748bbdbdca8c7dc5174309fca88aea","name":"koa-validate","description":"A koa params validate middleware.","dist-tags":{"0.0.1":"0.0.1","latest":"1.0.7"},"versions":{"0.0.1":{"name":"koa-validate","version":"0.0.1","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha --require should --harmony test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","validate","validator","format","middleware"],"dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.1","_shasum":"eda81031d4202aa441954a7dd2c09abca4266c69","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"eda81031d4202aa441954a7dd2c09abca4266c69","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.1.tgz","integrity":"sha512-HDgZaHPijD739uruvnKTHfiMt0oLiOaRK81UUFnyS4md5RPdshopDCcHspH4RK0ZdzUnPD3gVkRsYhjLIBtfbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAP/H5JhiyJOkOjE9bwE0VLmIszUyEByy72dguNJSfdFAiEA8taWTE1N62cC9si/NSJHJtmF5LktX1BNI3vajvsgPM4="}]},"directories":{}},"0.0.2":{"name":"koa-validate","version":"0.0.2","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha --require should --harmony test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.2","_shasum":"9e0134c323b50e9468dcc9546debe5a3764fb571","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"9e0134c323b50e9468dcc9546debe5a3764fb571","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.2.tgz","integrity":"sha512-f1bZNrGWpqqaxIzJq/Ebbjkgt1YuRjHM1r0GLJit/1WSoK2IRao9QTxswdzX91ixjYkDGhmpg0KLG2x6THyZgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCViqTOnApMdNVWEk3DiCcxeGiZTtvFj6w24ZEm2vBf3gIhAKgpv3aGLKbsQZJJ0VyOnFIE2nf9iSZLzDTOidUsISpZ"}]},"directories":{}},"0.0.3":{"name":"koa-validate","version":"0.0.3","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R tap --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail","test-travis1":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"fd46bc7ecfb28719e072e02a1f38d8602738edd3","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.3","_shasum":"781cedab55ca0887a8609d528befec79bd6814ed","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"781cedab55ca0887a8609d528befec79bd6814ed","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.3.tgz","integrity":"sha512-M6WF4FyOSq3GcoTEoTMvHXi/WLkdl7JvRKsYX0Giy/zwVJzfq6NhYXX5rmFd9wWB9ou3CdToKo0vz+aE3szcew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpMpsgwc9p7/Wf7n1Q59BcMhF/VC5vQLk9050Wn/ph3gIgcMKszBODGiu9/iiMZOkSyVejxE4LU7Zbgu61+tcdboo="}]},"directories":{}},"0.0.4":{"name":"koa-validate","version":"0.0.4","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"c4009d130248737c46f6541e9f77020aa82b7602","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.4","_shasum":"6c5ff37cb8427c5b69db75c5e8e3722c40e73431","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"6c5ff37cb8427c5b69db75c5e8e3722c40e73431","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.4.tgz","integrity":"sha512-TFXsqXY03F+XhMhnJiOxKCOl8NUE9EnQ0u9ucPkQob3mW4Lp6zpszq0J9ir03MmTCtmHrXrBzoQLDE5gZok9qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFXhYDClvdV0vkS0VUVd1HsOJNPrN6qO1mtof+ZolYgAiBMKWPAna1r1Q8XmUieQKPx2ySuVV9gb+G7tA9m3OMuoQ=="}]},"directories":{}},"0.0.5":{"name":"koa-validate","version":"0.0.5","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"ad9536670c5ae224655fc21422f671e6e77e302e","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.5","_shasum":"8280b9e8b348434f9b58b1cf233a413477b703dc","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"8280b9e8b348434f9b58b1cf233a413477b703dc","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.5.tgz","integrity":"sha512-BCtCG0gCy2DqimiCVdKhOmRvus6vX5OV6A0g+rka3lmOydQpJdKmaHTY6+a2lzJlWV3I56zp7+38sbM9ETYqNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS/MBFtQ1VByNNisfv3OO04bsZY61u3+TJOUWmGDYxuQIgevxcr9qhOi7zpl28/crWbdSBWW2YFGXNwOGhyVVJ4rk="}]},"directories":{}},"0.0.6":{"name":"koa-validate","version":"0.0.6","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"564690f5763e71662d00361d862945c2f677efc7","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.6","_shasum":"223b980f2147da2775dc30d731f75010828ab995","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"223b980f2147da2775dc30d731f75010828ab995","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.6.tgz","integrity":"sha512-6Uu8C2b1F5Au9fTTj0NajM0Bhkif2XZYx2+jkMETOxzOrEBUh9ui43RVE+0nVQkWCI0PyAcys+ySRC9heB3rdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdg+BcqVznqo0dmHm45Ow/JS7GwxaZcQg7aq9oU05ubAiAwS1fAO+QFLN4I90hX3kqlTTP/KoaMGw6SCGFpBs6Sjg=="}]},"directories":{}},"0.0.7":{"name":"koa-validate","version":"0.0.7","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"375bb6d47bd26e93d10f0f633ef9f5e7da0ac59f","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.7","_shasum":"5969f52e51ebf1d3badf713c8fe5c9459dae4a34","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"5969f52e51ebf1d3badf713c8fe5c9459dae4a34","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.7.tgz","integrity":"sha512-qvwEhR9oeKoGiyE0Jn6fSf8nU5qddNzGVnr3LDP0mhh2dN9jeg+xmcwlFOOE0wwczb3XhArhbm3VYt8GBdnrxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7UhP4Ro6A1eE8Jb77XOU/S7AO+fNB11k7lIHL/LD3FAiEArmLvwQA34LAxH2uAfUbSTqScG3M6GxqyQbIlWuFWQHw="}]},"directories":{}},"0.0.8":{"name":"koa-validate","version":"0.0.8","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.8","_shasum":"b677c4dfd1826c294f4329eaed2d4309411378ad","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"b677c4dfd1826c294f4329eaed2d4309411378ad","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.8.tgz","integrity":"sha512-eysO+1Ukjfwpja03xgT4NeaDPC57NeBBweFyjxzEiETxb3mGb5vrTHqSGiHwmkB5NrCcVWLvOWYVJY3c64RW9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEPlRuZIKIofnHfxRC9lXNg/PE4CSgpUf1HsLhRmBqRCAiEAy0ZFayBAWH4X8VJpAQx5DRc9wQ9sg0yfPl3jewM5Kmo="}]},"directories":{}},"0.0.9":{"name":"koa-validate","version":"0.0.9","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.0.9","_shasum":"5c2c3aa12398ed048065c92295a9bfc80e141597","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"5c2c3aa12398ed048065c92295a9bfc80e141597","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.0.9.tgz","integrity":"sha512-AiKHVd/na495L6PLZMP5dSKbcl5hvvT7zaPuLQ5a2uA2K7MmOx9F2cnQHF22NC2ugEMufQwzTBv6CIIp+b7zhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGEEXG0vNWfCS5e9Gp33MBj/PtC8ZkUvDTTp+NJdU5EBAiEAxhRJpfK3XIU6rkAm2JHuXJB+TDVr9my7piPqLCNqGBw="}]},"directories":{}},"0.1.0":{"name":"koa-validate","version":"0.1.0","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"set NODE_ENV=test && mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"set NODE_ENV=test && node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"*"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"40c3b2155fa0daf0420bc2ec833df58811c2d73e","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.1.0","_shasum":"3fc10ee8720f3eb1ec6897ecfe5d0fbf467ea7ba","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"3fc10ee8720f3eb1ec6897ecfe5d0fbf467ea7ba","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.1.0.tgz","integrity":"sha512-Nh7cVk1qlbiR7XAJ2/5ZAsIceau/ZnrX//gCISGJGH8Y+fHLO/sPWTypJUl49D/p4nPt7P9BbIWtFT2v4x9fZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUQHBWoJkp5L3v0uv07G0TqCwUkGi7xJWE5D2aeCmjgAiAwGrwVnAFdi5a7zFrdkEYnh335pfzAII8S1Ojjds94LQ=="}]},"directories":{}},"0.1.1":{"name":"koa-validate","version":"0.1.1","description":"a koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"^3.17.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"80af07fd8576ac18fc127cfb5ff070d2e14524f8","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.1.1","_shasum":"fa6c80508ac293e2ac155d58572a3a8dbf1087d8","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"fa6c80508ac293e2ac155d58572a3a8dbf1087d8","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.1.1.tgz","integrity":"sha512-7tEFbARaWGfiYNz+hnlFOBrSSz0KCsN2E2DtnSjluLv4WOR5T9+PRAFQeMI4qVhG0XdJjobbSsg72KzZcrtgXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCI+IXmRGEpWWgDHqwsdqFhCovYpdbwaHpOdZeq2IUzfwIhAJrSvoqH6PUE2I18ztCWbEj6f01ape8iXR0SoR7d+LFa"}]},"directories":{}},"0.1.2":{"name":"koa-validate","version":"0.1.2","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha --recursive -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  --recursive test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should  --recursive test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"^3.17.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.1.2","_shasum":"e700d1ce2c60e1614c87697d93f0a5307f768c21","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"e700d1ce2c60e1614c87697d93f0a5307f768c21","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.1.2.tgz","integrity":"sha512-csrMQiI7acJqKpzJEq3m44S+IBr/5Faq0FCcYraToVlqOc26wxfKTHPoU0HQXtijpuBLzvu1HmEHpfLlKj0UlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcouMjM4iX6/aRFO3nMP45JxMn5Ogrwpr3ZGHHLwMdQAIgflwGcm0i+4GFsYi+xIE7tJ+wEkeK+At3RDJ8lVVgv6A="}]},"directories":{}},"0.2.0":{"name":"koa-validate","version":"0.2.0","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"*","validator":"^3.17.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.0","_shasum":"e5c7787727588c3c16fa8b0c9c2e4c44723161c1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"e5c7787727588c3c16fa8b0c9c2e4c44723161c1","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.0.tgz","integrity":"sha512-JUumkGnAdTAnFfUL8dZAJfN5xl1Q3Lm6QBbxhRJbM1srAZQMB64YxXYljL4SO0lLgIkzellw0yRlvvQiuuh5sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAMCnpu9QAjenzq8Gfilt1DHjg1PKdRKAN2dNwOpXw+gIgTAX5S8TXr0jdkzCFiAGZmhCHdMYSnUbocRxSlP0PBMY="}]},"directories":{}},"0.2.1":{"name":"koa-validate","version":"0.2.1","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.17.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.1","_shasum":"9d972a7a06d09efbcfbbad847b329786ff709148","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"9d972a7a06d09efbcfbbad847b329786ff709148","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.1.tgz","integrity":"sha512-Dd9LeJOCd5zopAV/RoS151sMJaYx0imt0l4bYilIfGPGQvVp7tPhXORrcWKrU+yACVNMjC93pDfEYJThMF7WVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGcyf+elES05116x5I43qK8DOaFl0vDt1dlkFa5g4dwAiByJmd5SrWzYRgQg36GI9EbPbzmlagfZqM1fbPV/QaXKQ=="}]},"directories":{}},"0.2.2":{"name":"koa-validate","version":"0.2.2","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.17.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"*","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"f54fb3afe71a8a60bebf880f814af0bce601b997","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.2","_shasum":"8fcb50b3e3291639e9e1c1dc3df8695bb62ba9fc","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"8fcb50b3e3291639e9e1c1dc3df8695bb62ba9fc","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.2.tgz","integrity":"sha512-gSxAQcYOiSB0F44iaCv+/2MNQR2b6PuQQAEePwdo4oTVUOUc6Bo81ddBdvygS6SR0k4jUgO6DS5F+jBL9GBbMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7R36t9ZCd1cY2OEC9lBYmqBRFnNUlJkTrTi/KAQJUpAiA4f+OTOmBAtvj0ns82lkxTDJhynI2ay06vvO2ZIIjoHQ=="}]},"directories":{}},"0.2.3":{"name":"koa-validate","version":"0.2.3","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.17.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"e76e1eff8eeb5a94326db4c05e2b8f5f2c035173","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.3","_shasum":"4b90b52d6e357fe53fa00ea542202595ca532aba","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"4b90b52d6e357fe53fa00ea542202595ca532aba","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.3.tgz","integrity":"sha512-G/Fkp0oo1L0ZqE+eefIldQQZ0z4vlg8nEcBJ4uxU4H8IUiFzSW7hCrcVmi7JXai5H5QcJtcjcL62uA49GU8Ang==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdfMNGEcEasFpFWER2Mwe/fDvmgmwiJanZ9OLVOKm62AiAaSlhKUt2+z/ETI7RKMIgBKd6lOmsaLSLr4uos0hcO8g=="}]},"directories":{}},"0.2.4":{"name":"koa-validate","version":"0.2.4","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"0fd7ecc1bdca7a313146f378dc5d9efe257079dc","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.4","_shasum":"39874efc69158eeaae35b66f0190efd7666192fe","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"39874efc69158eeaae35b66f0190efd7666192fe","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.4.tgz","integrity":"sha512-IQtOvHdukoRAcYv2tUZyQzTaBaYCPLGLJIwoAt1SwGzoHlDgQAg2bjULx+uLWb5U4ezI3QgEDimXaCKekerJUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXZukMAWG8c1CkV1sTabr/+LnCahSTjGHrM8oM9XwXJAiEA8yL1RhYSeolABN30l/QeZknSWTfPH8XIborRIJIlKM0="}]},"directories":{}},"0.2.5":{"name":"koa-validate","version":"0.2.5","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"4b990d35d8d511aa9d835c8110a7f906c0fe1cd0","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.5","_shasum":"60feabb629f8053c6a5319c630d1491a136b5a91","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"60feabb629f8053c6a5319c630d1491a136b5a91","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.5.tgz","integrity":"sha512-4fNE+/mN9NLeH1JPY0JKmKvdJ1uBFy/iPFt8nipFNHjE55wfo8K4XeyI2NX0gq0Z4NoslxzK+7pIqKiyH4wkNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLaruL0wlBQkJgP4m8adh+XWPzMOgqNOaQFWg55DpMGgIgJJ1qMmCYmw2znRYxT7Gd9x1xPcgpFdAqUpTJZWb23Ys="}]},"directories":{}},"0.2.6":{"name":"koa-validate","version":"0.2.6","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"8b7e6308d3e21a573fefb4030953f3f0565986fc","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.6","_shasum":"c35fe02bc2a750816ba75b49ef19f3954f5b73f3","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"c35fe02bc2a750816ba75b49ef19f3954f5b73f3","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.6.tgz","integrity":"sha512-4QjgC+e6tt9FGLRXeId8xF4Igs/6dr9sFwRXwOaRxnv6F2MwTdzCrGCt4Dbh9k5XVqJS/SLZ0vgyqsgy1fFz+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrA09pSzZQZ0RucHs3X0drQzkAjivLedEvh5vdmt8D1AiB0IJ4HzxDo8njz4QzNiIuWg28l4me1BecZB/8CmsqUrA=="}]},"directories":{}},"0.2.7":{"name":"koa-validate","version":"0.2.7","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"e26a1a8880cb9e29c7c11c378e13022f47beca56","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.7","_shasum":"2c7eeac851a43a166047838ca0eabd4efd7e4562","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"2c7eeac851a43a166047838ca0eabd4efd7e4562","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.7.tgz","integrity":"sha512-90Q/VCJGR90qktuWSj7HyWlRpkhTKYOpdWu92ioMIEgQYjsaokfqI1D3uhVt0/Zv7XmZk6RcLuYEQYgJs7bveA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD87kZMf+BzB7RepkNs8u9lM3hoCuLe+jBlW0WUaudLOQIgYA2BhmOKGi1sZh346XuAJxiiqh5GDTkuaOhzfBEmNj4="}]},"directories":{}},"0.2.8":{"name":"koa-validate","version":"0.2.8","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"1604cda0416a33b01f708f1e227f16532b351ab6","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.8","_shasum":"d88681db725b27a5725bc647dc20ace10e0ae75b","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"d88681db725b27a5725bc647dc20ace10e0ae75b","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.8.tgz","integrity":"sha512-GkjNQT672p++C7wKYydZA8e+ggo6Eww91d1myXZ3HTZhTc3MiatijNVl7lUvIkcxPBJHELgCuZ+lVIuXEXU0+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHR38WviGOLQlUDPUBLRx8n4nrIjQyVwEQqiuvQsSNqBAiEAv1kNGLytZ9y7uhX+09x4voh+kccSUawePfzxWQO3KhE="}]},"directories":{}},"0.2.9":{"name":"koa-validate","version":"0.2.9","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"8863db3dda02400bf0c9da3ffbc3dbc0b48400c6","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.9","_shasum":"a677ec3723a63d93cabe14d9896666e53c70a068","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"a677ec3723a63d93cabe14d9896666e53c70a068","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.9.tgz","integrity":"sha512-6wik9oDkifUHgknOP8f2Tw17RlOS23xwp8aYH2Qo4rW7xorofgtoJDnkGAWtMoqL/y8/c8eObP2YRCHEi5FO4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwrGsNKQ+8vYqbXnzT15a2rcaA+yV9VKrL8UgSGj/slgIhAK0QjrRZzMPWEXzzSOwUSSFn1lCIJ2qAz6dvJTMya8kb"}]},"directories":{}},"0.2.10":{"name":"koa-validate","version":"0.2.10","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"7ff6c140996658e52edaf308b03a4ca72f4432d1","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.10","_shasum":"0d1a265f44e917be65747b9cc16a531e750e99ce","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"0d1a265f44e917be65747b9cc16a531e750e99ce","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.10.tgz","integrity":"sha512-E7WDAflTXYsPnx8e8ZGLjdRD0nSyuTCaXV7qfq+5Nq8iLLZGCN9X6YSf3zsZ5RlxJuT0ziVDtdHKo8LcGf/zog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdj1q8fjZcGlua1dZiZ8OyXMGpeOnx6UYiTg1InnudswIhALJSuShGuym8L74KQ0Un5aEhNyScUTwwAmNPkAgLpm6S"}]},"directories":{}},"0.2.11":{"name":"koa-validate","version":"0.2.11","description":"A koa params validate middleware.","main":"lib/validate.js","scripts":{"test":"mocha -R spec --require should --harmony test/ --bail","test-cov":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha  -- -u exports --require should  test/ --bail","test-travis":"node --harmony node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -u exports --require should test/ --bail"},"repository":{"type":"git","url":"https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"debug":"^2.0.0","validator":"^3.22.1"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"*"},"engines":{"node":">= 0.11.9"},"gitHead":"0252d70d93321f7ee74ce7d508cf99874700c83d","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate","_id":"koa-validate@0.2.11","_shasum":"8e81c35187ed427428ab84c90b009425b7530fac","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"dist":{"shasum":"8e81c35187ed427428ab84c90b009425b7530fac","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-0.2.11.tgz","integrity":"sha512-rsfGWmMLzC03fq2QxlyDp9QgQ3b7DDU6FZC/hVAYNDm0uZCmi3aoyMvIpR1se+RiSp2fR2ov0cO2udP0e6SPZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFgHJPoornsLL5hMB/VsKl2QVcn9cGtPp5+eCqTYZzBtAiA4BnBLhFPGhaKhOtiX16RzHhyMIF/KzAQHrtfYlPV2KQ=="}]},"directories":{}},"1.0.0":{"name":"koa-validate","version":"1.0.0","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"95925c74990a0b80125ea126ac94fa501e947a11","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.0","_shasum":"8f243c2d5be3c8e68564b35082d7b494eaad524f","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"8f243c2d5be3c8e68564b35082d7b494eaad524f","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.0.tgz","integrity":"sha512-06u21thTY1S+JhRjOgdRioMJtSebQGJR8VAVRZDv7bKIOce+QmrOMJa8SVb42e5xYDpu8xJ8c0N7Y4553F/Xrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDd0VA7nF9GMAhcgN+XLoEvNA1/paTRBb3vQtqWSgwNhgIgUDmo3ZjOwnyDQXBb5ZQP00X8D4a12oMkswT8z1QVY1A="}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.0.tgz_1461681711263_0.8092568118590862"},"directories":{}},"1.0.1":{"name":"koa-validate","version":"1.0.1","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"769039b6f9aeedc6f872b0b40ff923eb780e061c","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.1","_shasum":"8bfb73dd8ca31428608f1832eba1c7e4a3986e34","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"8bfb73dd8ca31428608f1832eba1c7e4a3986e34","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.1.tgz","integrity":"sha512-9Z6XVEiJUXehrPAdEanLQZSx5Qch9Mz5gOcTPo+A7bpX9rUojHtC21TtU7tyGMNzL3rAXellkXN8EFpa7sOJRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQC7tba+CkIBolv99pzcx34LgjVh7/iSFIdaie1YmfxAIhALtqKGuH/I9rl5A1mQVwyhJM3sxw6GriEHGMHsY2WWQv"}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.1.tgz_1462544537596_0.9860575480852276"},"directories":{}},"1.0.2":{"name":"koa-validate","version":"1.0.2","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"4d1298780558de0e3ff0649bd42a074baa8936c2","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.2","_shasum":"3131003556cc7f94586bac02cde2b5ff0cae64ec","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"3131003556cc7f94586bac02cde2b5ff0cae64ec","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.2.tgz","integrity":"sha512-H7xkwnLFII0//t0urm4iatWx74ltZiLm9Kl/xWgxXbNeDrwNdhgYs1RiGbrS5uukdUd9Qc1I5leZs9NPK1Z58A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx7bMtJQ3ggUnCkI5Dfzh5lpXNRQgrgleHnXA1brEnggIgRZAJauX3iMrJzA3AztbOiFo6sRBZza7qdiqRCknmj5U="}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.2.tgz_1463401497090_0.7035695542581379"},"directories":{}},"1.0.3":{"name":"koa-validate","version":"1.0.3","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"d4f7215d4b32c099c413215a08e92fcea9db1e42","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.3","_shasum":"d69c49191c3485cd9455c5eaed66cd948bd55512","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"d69c49191c3485cd9455c5eaed66cd948bd55512","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.3.tgz","integrity":"sha512-zSIPIrz1vUmo4g8nCX16QE4oNpOzZu3+MOzj9vrNihWPih094tVqeJ47C6qgMy9qPNOYi8rWARalmObhS2QoOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxArFbQBA9Nn2incvbdyJ9HmQB3nnL3zPrAMrJqPZxMAiEAwU6d43OK5idkoYrPdWYiKEWVShuWr10CRgR+uLSrD/o="}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.3.tgz_1463577876126_0.46486168075352907"},"directories":{}},"1.0.4":{"name":"koa-validate","version":"1.0.4","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"1852a5cb613c972e920b8b747b7e7fd937b1074f","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.4","_shasum":"23c1775ba6f92a36128249175bf456c0560cd864","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"23c1775ba6f92a36128249175bf456c0560cd864","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.4.tgz","integrity":"sha512-LDZFXoJKw9jbhlZ9ku+YTXKBojaLYzbDD1VDOXY+gsx34dzEnURi8YyQpH9YmSS3wUZ2sowVP77ImEJuSYwbUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUpJCJ2N1KrjRfRkMlCWxjjcyZntKAvyv5xOKRhR1tvwIhAK0FU9lRl3ZhGgO/US45957Z9CVC1G3olEtcTmkM35Qh"}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.4.tgz_1463752816850_0.36566910007968545"},"directories":{}},"1.0.5":{"name":"koa-validate","version":"1.0.5","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"25ecf2ec89460657ec66ef310a2884f668f86c3f","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.5","_shasum":"ed54b812f54de1b0bbca2e734d5825f6aaf2353d","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"ed54b812f54de1b0bbca2e734d5825f6aaf2353d","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.5.tgz","integrity":"sha512-Rlc1ij/q2Ch05ThAxPtgW0LjTwHDVCSS/LaR484JFFU+xuBvYj/Kbvhk8ZwZcWzwnazzhUjL3eXWiK03HcYYiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExN7Fa+UbyLm5l5ty9h3Ttk4Nsbz9uMU4LlnDILMjeYAiApYQ4kvKkn4BRXzw8i+6UIafWMgkC9TahDsZ6MS0kprQ=="}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.5.tgz_1464408310350_0.30981133598834276"},"directories":{}},"1.0.6":{"name":"koa-validate","version":"1.0.6","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"c0b66e93f1fa48fcd6da74fe7c64bb11eb4d8a9f","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.6","_shasum":"b20c3ff5d3872a83dd3fa7f2c31f5cb42058a21c","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"b20c3ff5d3872a83dd3fa7f2c31f5cb42058a21c","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.6.tgz","integrity":"sha512-ELCDjWWKhyb9zXvo8NaN8vi5xm+yoGE+njrGLfAlt80I7J+gbq3WryO8PYx7Ni60n5BKc+usnsMdQDvevTcEqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBV8qNgXdsV6wJ46qXOhDXp9cdtWFY/gB/PtUgWg4BtXAiEA07ecj8d0et/QgCcIBwwmz6Gjhg54I+ptwZo616oz02I="}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.6.tgz_1464492096005_0.5818810036871582"},"directories":{}},"1.0.7":{"name":"koa-validate","version":"1.0.7","description":"A koa params validate middleware.","main":"validate.js","scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"license":"MIT","dependencies":{"json-path":"^0.1.3","validator":"^5.2.0"},"devDependencies":{"koa":"*","koa-router":"*","koa-body":"*","should":"*","mocha":"*","supertest":"^0.13.0","coveralls":"*","mocha-lcov-reporter":"*","istanbul-harmony":"0"},"engines":{"node":">= 0.11.9"},"gitHead":"a44b4fb8738595530f729e5d9407b725c1a49537","bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","_id":"koa-validate@1.0.7","_shasum":"0b7dd3feee83cae1b4694fa06376477d945eb430","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"},"dist":{"shasum":"0b7dd3feee83cae1b4694fa06376477d945eb430","tarball":"https://registry.npmjs.org/koa-validate/-/koa-validate-1.0.7.tgz","integrity":"sha512-PA5U1Z9wofACY5vAnUhcNVb9zLLCCTvtaq5sMP+BuMzFYl3Rt3L3GIm5gAchEhudbNYF9eATpriKsxGCewWs5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxFgcsgxfJlyUCHSehfn7eUf9fyLnrBrGb88AL5QYQhAiEAuFR/HumSdhrgVPHAdd9PfWASbN2ARsrlUCBTjxKMPxA="}]},"maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-validate-1.0.7.tgz_1474005587760_0.01627448247745633"},"directories":{}}},"readme":"koa-validate\r\n============\r\n\r\n[![Build Status](https://travis-ci.org/RocksonZeta/koa-validate.svg?branch=master)](https://travis-ci.org/RocksonZeta/koa-validate)\r\n[![Coverage Status](https://coveralls.io/repos/RocksonZeta/koa-validate/badge.png?branch=master)](https://coveralls.io/r/RocksonZeta/koa-validate?branch=master)\r\n[![NPM version](https://badge.fury.io/js/koa-validate.svg)](http://badge.fury.io/js/koa-validate)\r\n[![Dependency Status](https://david-dm.org/RocksonZeta/koa-validate.svg)](https://david-dm.org/RocksonZeta/koa-validate)\r\n\r\n[![NPM](https://nodei.co/npm/koa-validate.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/koa-validate/)\r\n\r\nvalidate koa request params and format request params \r\n\r\n## Installation\r\n```\r\n$ npm install koa-validate --save\r\n```\r\n\r\n## Basic usage:\r\n```javascript\r\n'use strict';\r\nvar koa = require('koa');\r\nvar app = koa();\r\nvar router = require('koa-router')();\r\nrequire('koa-validate')(app);\r\n\r\napp.use(require('koa-body')({multipart:true , formidable:{keepExtensions:true}}));\r\napp.use(router.routes()).use(router.allowedMethods());\r\nrouter.post('/signup', function * () {\r\n\t//optional() means this param may not in the params.\r\n\tthis.checkBody('name').optional().len(2, 20,\"are you kidding me?\");\r\n\tthis.checkBody('email').isEmail(\"your enter a bad email.\");\r\n\tthis.checkBody('password').notEmpty().len(3, 20).md5();\r\n\t//empty() mean this param can be a empty string.\r\n\tthis.checkBody('nick').optional().empty().len(3, 20);\r\n\t//also we can get the sanitized value \r\n\tvar age = this.checkBody('age').toInt().value;\r\n\tyield this.checkFile('icon').notEmpty().size(0,300*1024,'file too large').move(\"/static/icon/\" , function*(file,context){\r\n\t\t//resize image\r\n\t});\r\n\tif (this.errors) {\r\n\t\tthis.body = this.errors;\r\n\t\treturn;\r\n\t}\r\n});\r\nrouter.get('/users', function * () {\r\n\tthis.checkQuery('department').empty().in([\"sale\",\"finance\"], \"not support this department!\").len(3, 20);\t\r\n\tthis.checkQuery('name').empty().len(2,20,\"bad name.\").trim().toLow();\r\n\tthis.checkQuery('age').empty().gt(10,\"too young!\").lt(30,\"to old!\").toInt();\r\n\tif (this.errors) {\r\n\t\tthis.body = this.errors;\r\n\t\treturn;\r\n\t}\r\n});\r\nrouter.get('/user/:id', function * () {\r\n\tthis.checkParams('id').toInt(0);\r\n\tif (this.errors) {\r\n\t\tthis.body = this.errors;\r\n\t\treturn;\r\n\t}\r\n});\r\n//json body,we can check it using [json path](https://github.com/flitbit/json-path)(like xpath)\r\nrouter.post('/json' , function*(){\r\n\tthis.checkBody('/store/book[0]/price').get(0).eq(8.95);\r\n\tthis.checkBody('#/store/book[0]/category').first().trim().eq('reference');\r\n\tif (this.errors) {\r\n\t\tthis.body = this.errors;\r\n\t\treturn;\r\n\t}\r\n})\r\n\r\napp.listen(3000);\r\n```\r\n\r\n## API\r\n\r\ncheckBody,checkQuery,checkParams will return a Validator instance.\r\nwhen use `require('koa-validate')(app)` ,the request context will bind the method:\r\n\r\n- **checkBody(fieldName,[transFn])** - check POST body.`,transFn` see [json-path](https://github.com/flitbit/json-path#more-power).it will not use json path if `transFn` is `false`.\r\n- **checkQuery(fieldName,[transFn])** - check GET query.`,transFn` see [json-path](https://github.com/flitbit/json-path#more-power).it will not use json path if `transFn` is `false`.\r\n- **checkParams(fieldName)** - check the params in the urls.\r\n- **checkFile(fieldName,[deleteOnCheckFailed])** - check the file object, if you use [koa-body](https://github.com/dlau/koa-body).this function will return `FileValidator` object. `deleteOnCheckFailed` default value is `true`\r\n- **checkHeader(fieldName)** - check the params in the request http header.\r\n\r\n\r\n## Validator API\r\n### Access validator status:\r\n\r\n- **addError(tip)** - add an error to validator errors.\r\n- **hasError()** - check if validator has errors.\r\n- **value** - the value of current validator.\r\n\r\n### Validators:\r\n`options`,`version` or `locale` please see [validator](https://github.com/chriso/validator.js)\r\n\r\n- **optional()** - the param may not in the params.if the param not exists,it has no error,no matter whether have other checker or not.\r\n- **empty([tip])** - the params can be a empty string.\r\n- **notEmpty([tip])** - check if the param is not empty.\r\n- **notBlank([tip])** - check if the param is not blank,use /^\\s*$/gi reg to check.\r\n- **match(pattern,[tip])** - pattern must be a RegExp instance ,eg. /abc/i\r\n- **notMatch(pattern,[tip])** - pattern must be a RegExp instance ,eg. /xyz/i\r\n- **ensure(assertion, [tip], [shouldBail])** if assertion is false,the asserting failed.\r\n- **ensureNot(assertion, [tip], [shouldBail])** if assertion is true,the asserting failed.\r\n- **isInt([tip],[options])** - check if the param is integer.\r\n- **isFloat([tip],[options])** - check if the param is float.\r\n- **isLength(min,[max],[tip])** - check the param length.\r\n- **len(min,[max],[tip])** - the abbreviation of isLength.\r\n- **isIn(arr,[tip])** - check if the param is in the array.\r\n- **in(arr,[tip])** - the abbreviation of isIn.\r\n- **eq(value,[tip])** - check if the param equal to the value.\r\n- **neq(value,[tip])** - check if the param not equal to the value.\r\n- **gt(num,[tip])** - check if the param great then the value.\r\n- **lt(num,[tip])** - check if the param less then the value.\r\n- **ge(num,[tip])** - check if the param great then or equal the value.\r\n- **le(num,[tip])** - check if the param less then or equal the value.\r\n- **contains(str,[tip])** - check if the param contains the str.\r\n- **notContains(str,[tip])** - check if the param not contains the str.\r\n- **isEmail([tip],[options])** - check if the param is an email.\r\n- **isUrl([tip],[options])** - check if the param is an URL.\r\n- **isIp([tip])** - check if the param is an IP (version 4 or 6).\r\n- **isAlpha([tip],[locale])** - check if the param contains only letters (a-zA-Z).\r\n- **isNumeric([tip])** - check if the param contains only numbers.\r\n- **isAlphanumeric([tip],[locale])** - check if the param contains only letters and numbers.\r\n- **isBase64([tip])** - check if a param is base64 encoded.\r\n- **isHexadecimal([tip])** - check if the param is a hexadecimal number.\r\n- **isHexColor([tip])** - check if the param is a hexadecimal color.\r\n- **isLowercase([tip])** - check if the param is lowercase.\r\n- **isUppercase([tip])** - check if the param is uppercase.\r\n- **isDivisibleBy(num,[tip])** - check if the param is a number that's divisible by another.\r\n- **isNull([tip])** - check if the param is null.\r\n- **isByteLength(min,max,[tip])** - check if the param's length (in bytes) falls in a range.\r\n- **byteLength(min,max,[tip])** - the abbreviation of isByteLength.\r\n- **isUUID([tip],[version])** - check if the param is a UUID (version 3, 4 or 5).\r\n- **isDate([tip])** - check if the param is a date.\r\n- **isAfter(date,[tip])** - check if the param is a date that's after the specified date.\r\n- **isBefore(date,[tip])** - check if the param is a date that's before the specified date.\r\n- **isCreditCard([tip])** - check if the param is a credit card.\r\n- **isISBN([tip],version)** - check if the param is an ISBN (version 10 or 13).\r\n- **isJSON([tip])** - check if the param is valid JSON (note: uses JSON.parse).\r\n- **isMultibyte([tip])** - check if the param contains one or more multibyte chars.\r\n- **isAscii([tip])** - check if the param contains ASCII chars only.\r\n- **isFullWidth([tip])** - check if the param contains any full-width chars.\r\n- **isHalfWidth([tip])** - check if the param contains any half-width chars.\r\n- **isVariableWidth([tip])** - check if the param contains a mixture of full and half-width chars\r\n- **isSurrogatePair([tip])** - check if the param contains any surrogate pairs chars.\r\n- **isCurrency([tip],[options])** - check if the param is a currency.\r\n- **isDataURI([tip])** - check if the param is a data uri.\r\n- **isMobilePhone([tip],[locale])** - check if the param is a mobile phone.\r\n- **isISO8601([tip])** - check if the param is a ISO8601 string. eg.2004-05-03\r\n- **isMACAddress([tip])** - check if the param is a MAC address.eg.C8:3A:35:CC:ED:80\r\n- **isISIN([tip])** - check if the param is a ISIN.\r\n- **isFQDN([tip],[options])** - check if the param is a fully qualified domain name. eg.www.google.com\r\n\r\n\r\n### Sanitizers:\r\n\r\n- **default(value)** - if the param not exits or is an empty string, it will take the default value.\r\n- **toDate()** - convert param  to js Date object.\r\n- **toInt([tip],[radix],[options])** - convert param to integer.`radix` for `toInt`,`options` for `isInt`.\r\n- **toFloat([tip])** - convert param to float.\r\n- **toLowercase()** - convert param to lowercase.\r\n- **toLow()** - same as toLowercase.\r\n- **toUppercase()** - convert param to uppercase.\r\n- **toUp()** - same as toUppercase.\r\n- **toBoolean()** - convert the param to a boolean. Everything except for '0', 'false' and '' returns true. In strict mode only '1' and 'true' return true.\r\n- **toJson([tip])** - convert param to json object.\r\n- **trim([chars])** - trim characters (whitespace by default) from both sides of the param.\r\n- **ltrim([chars])** -  trim characters from the left-side of the param.\r\n- **rtrim([chars])** -  trim characters from the right-side of the param.\r\n- **escape()** -  replace <, >, & and \" with HTML entities.\r\n- **stripLow()** -  remove characters with a numerical value < 32 and 127, mostly control characters. \r\n- **whitelist(value)** - remove characters that do not appear in the whitelist.\r\n- **blacklist(value)** - remove characters that appear in the blacklist.\r\n- **encodeURI()** - ref mdn [encodeURI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI)\r\n- **decodeURI([tip])** - ref mdn [decodeURI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURI)\r\n- **encodeURIComponent()** - ref mdn [encodeURIComponent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent)\r\n- **decodeURIComponent([tip])** - ref mdn [decodeURIComponent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent)\r\n- **replace(regexp|substr, newSubStr|function)** - the same as [String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace) replace \r\n- **clone(newKey,[newValue])** - clone current value to the new key, if newValue supplied , use it. eg. `this.checkBody('v1').clone('md5').md5()`; then your can use `this.request.body.md5`.\r\n- **encodeBase64()** - encode current value to base64 string.\r\n- **decodeBase64([inBuffer],[tip])** - decode current base64 to a normal string,if inBuffer is true , the value will be a Buffer.\r\n- **hash(alg , [encoding])** - hash current value use specified algorithm and encoding(if supplied , default is 'hex'). ref [hash](http://nodejs.org/api/crypto.html#crypto_class_hash)\r\n- **md5()** - md5 current value into hex string.\r\n- **sha1()** - sha1 current value into hex string.\r\n\r\n### For json path:\r\n- **check(fn,tip,scope)** - if fn return `false` then check failed.fn format `function(value,key,requestParams):boolean`\r\n- **filter(fn,scope)** - filter the value if value is array.fn format `function(value,index,key,requestParams):boolean`\r\n- **get(index)** - change the value to the specified index value\r\n- **first()** - get the first value!\r\n\r\n### FileValidator:\r\n\r\n#### Validators:\r\n\r\n- **empty()** - current file field can to be a empty file.\r\n- **notEmpty([tip])** - current file field can not to be a empty file.\r\n- **size(min,max,[tip])** - limit the file size.\r\n- **contentTypeMatch(reg,[tip])** - check the file's contentType with regular expression.\r\n- **isImageContentType([tip])** - check the file's contentType if is image content type.\r\n- **fileNameMatch(reg,[tip])** - check the file's name with regular expression.\r\n- **suffixIn(arr,[tip])** - check the suffix of file's if in specified arr. `arr` eg. ['png','jpg']\r\n\r\n#### Sanitizers:\r\nFile sanitizers are generators,we should use `yield` to execute them. eg. `yield this.checkFile('file').notEmpty().copy('/')`;\r\n\r\n- **move(target,[afterMove])** - move upload file to the target location. target can be a `string` or `function` or `function*`.if target end with '/' or '\\\\',the target will be deemed as directory.\r\ntarget function interface:`string function(fileObject,fieldName,context)`.this function will return a string of the target file.\r\nafterMove:it can be a `function` or `function*`.interface:`function(fileObject,fieldName,context)`\r\n- **copy(target,[afterCopy])** - move upload file to the target location. target can be a `string` or `function` or `function*`. target function interface:`function (fileObject,fieldName,context)` .\r\nafterCopy:it can be a `function` or `function*`.interface:`function(fileObject,fieldName,context)`\r\n- **delete()** - delete upload file.\r\n\r\n\r\n\r\n## How to extends validate:\r\n\r\n```javascript\r\nvar Validator = require('koa-validate').Validator;\r\n// to do what you want to.\r\n//you can use this.key ,this.value,this.params,this.context,this.exists\r\n//use addError(tip) , if you meet error.\r\n```","maintainers":[{"name":"rocksonzeta","email":"RocksonZeta@gmail.com"}],"time":{"modified":"2022-06-19T09:31:43.100Z","created":"2014-08-06T15:13:19.212Z","0.0.1":"2014-08-06T15:13:19.212Z","0.0.2":"2014-08-06T23:19:18.951Z","0.0.3":"2014-08-07T08:18:00.951Z","0.0.4":"2014-08-08T06:02:36.379Z","0.0.5":"2014-08-08T06:30:05.046Z","0.0.6":"2014-08-08T07:17:27.091Z","0.0.7":"2014-08-09T11:12:29.345Z","0.0.8":"2014-08-10T01:30:06.807Z","0.0.9":"2014-08-10T02:33:58.325Z","0.1.0":"2014-08-12T10:42:59.350Z","0.1.1":"2014-08-19T01:54:07.329Z","0.1.2":"2014-08-27T12:20:41.077Z","0.2.0":"2014-09-03T04:09:44.399Z","0.2.1":"2014-09-03T05:34:38.848Z","0.2.2":"2014-10-23T08:22:57.577Z","0.2.3":"2014-10-23T09:07:32.022Z","0.2.4":"2014-11-20T09:25:25.054Z","0.2.5":"2014-11-28T02:14:59.008Z","0.2.6":"2015-01-22T02:40:39.536Z","0.2.7":"2015-01-28T11:33:56.346Z","0.2.8":"2015-02-20T12:51:24.486Z","0.2.9":"2015-02-26T06:56:41.546Z","0.2.10":"2015-03-07T05:37:17.998Z","0.2.11":"2015-04-02T03:07:57.760Z","1.0.0":"2016-04-26T14:41:54.629Z","1.0.1":"2016-05-06T14:22:20.715Z","1.0.2":"2016-05-16T12:25:00.334Z","1.0.3":"2016-05-18T13:24:40.357Z","1.0.4":"2016-05-20T14:00:17.713Z","1.0.5":"2016-05-28T04:05:10.872Z","1.0.6":"2016-05-29T03:21:39.600Z","1.0.7":"2016-09-16T05:59:50.602Z"},"homepage":"https://github.com/RocksonZeta/koa-validate#readme","keywords":["web","koa","koa-validate","validate","validator","format","middleware"],"repository":{"type":"git","url":"git+https://github.com/RocksonZeta/koa-validate.git"},"bugs":{"url":"https://github.com/RocksonZeta/koa-validate/issues"},"readmeFilename":"README.md","license":"MIT","users":{"rocksonzeta":true,"kiwiobject":true,"zxdong262":true,"caesor":true,"johanliebert":true,"akinjide":true,"holly":true,"jerrywu":true,"stone-jin":true,"losymear":true,"daizch":true}}