├── .gitignore ├── .prettierrc ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── README.md ├── examples ├── .babelrc ├── .gitignore ├── example_ts.js ├── example_ts.ts ├── example_vanilla.js ├── example_with_express.es6.js ├── example_with_express.js ├── package.json ├── tsconfig.json └── yarn.lock ├── index.d.ts ├── index.js ├── lib ├── assert_middleware.js ├── request_assertions.js ├── request_validator.js ├── translations │ └── en.js ├── translator.js ├── validation_error.js └── validations.js ├── package.json ├── test ├── middleware_test.js ├── request_assertions_test.js ├── request_validation_test.js ├── translator_test.js └── validation_test.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/.prettierrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/README.md -------------------------------------------------------------------------------- /examples/.babelrc: -------------------------------------------------------------------------------- 1 | { "presets": ["es2015"] } 2 | -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /node_modules -------------------------------------------------------------------------------- /examples/example_ts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/example_ts.js -------------------------------------------------------------------------------- /examples/example_ts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/example_ts.ts -------------------------------------------------------------------------------- /examples/example_vanilla.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/example_vanilla.js -------------------------------------------------------------------------------- /examples/example_with_express.es6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/example_with_express.es6.js -------------------------------------------------------------------------------- /examples/example_with_express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/example_with_express.js -------------------------------------------------------------------------------- /examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/package.json -------------------------------------------------------------------------------- /examples/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/tsconfig.json -------------------------------------------------------------------------------- /examples/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/examples/yarn.lock -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/index.js -------------------------------------------------------------------------------- /lib/assert_middleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/lib/assert_middleware.js -------------------------------------------------------------------------------- /lib/request_assertions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/lib/request_assertions.js -------------------------------------------------------------------------------- /lib/request_validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/lib/request_validator.js -------------------------------------------------------------------------------- /lib/translations/en.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/lib/translations/en.js -------------------------------------------------------------------------------- /lib/translator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/lib/translator.js -------------------------------------------------------------------------------- /lib/validation_error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/lib/validation_error.js -------------------------------------------------------------------------------- /lib/validations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/lib/validations.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/package.json -------------------------------------------------------------------------------- /test/middleware_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/test/middleware_test.js -------------------------------------------------------------------------------- /test/request_assertions_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/test/request_assertions_test.js -------------------------------------------------------------------------------- /test/request_validation_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/test/request_validation_test.js -------------------------------------------------------------------------------- /test/translator_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/test/translator_test.js -------------------------------------------------------------------------------- /test/validation_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/test/validation_test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nettofarah/property-validator/HEAD/yarn.lock --------------------------------------------------------------------------------