koa-fluent-validation
Advanced tools
Comparing version 0.1.0 to 0.2.0
export { middleware as validation } from './middleware'; | ||
export { validatorBuilder as v } from './validator-builder'; | ||
export { filterBuilder as f } from './filter-builder'; | ||
export { validatorBuilder as v, addCustom as addCustomValidator } from './validator-builder'; | ||
export { filterBuilder as f, addCustom as addCustomFilter } from './filter-builder'; |
@@ -7,4 +7,6 @@ "use strict"; | ||
exports.v = validator_builder_1.validatorBuilder; | ||
exports.addCustomValidator = validator_builder_1.addCustom; | ||
var filter_builder_1 = require("./filter-builder"); | ||
exports.f = filter_builder_1.filterBuilder; | ||
exports.addCustomFilter = filter_builder_1.addCustom; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "koa-fluent-validation", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "dist/index.js", | ||
@@ -10,2 +10,6 @@ "types": "dist/index.d.ts", | ||
"homepage": "https://github.com/technicallyjosh/koa-fluent-validation", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/technicallyjosh/koa-fluent-validation" | ||
}, | ||
"license": "MIT", | ||
@@ -23,4 +27,11 @@ "scripts": { | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | ||
"moduleFileExtensions": ["ts", "tsx", "js"], | ||
"coveragePathIgnorePatterns": ["/dist/", "/node_modules/"], | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js" | ||
], | ||
"coveragePathIgnorePatterns": [ | ||
"/dist/", | ||
"/node_modules/" | ||
], | ||
"mapCoverage": true, | ||
@@ -27,0 +38,0 @@ "verbose": false |
# koa-fluent-validation | ||
[![NPM version][npm-image]][npm-url] | ||
Fluent, functional, and extendable validation for Koa 2 body, params, and query. Built on [validator](https://github.com/chriso/validator.js/) for base validations and filters. | ||
@@ -68,2 +70,5 @@ | ||
**For documentation see the [wiki](https://github.com/technicallyjosh/koa-fluent-validation/wiki)!** | ||
**For documentation see the [wiki](https://github.com/technicallyjosh/koa-fluent-validation/wiki)!** | ||
[npm-url]: https://npmjs.org/package/koa-fluent-validation | ||
[npm-image]: http://img.shields.io/npm/v/koa-fluent-validation.svg?style=plastic |
Sorry, the diff of this file is not supported yet
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
37345
488
73
0