jsonql-params-validator

v1.0.4
JSONQL parameters validator written in ES6+ to use with the client / server
validation jsonql

test

DEBUG=jsonql-params-validator:checkIsArray ava

test:f

DEBUG=jsonql-params-validator* ava ./tests/combine.test.js

test:t

DEBUG=jsonql-params-validator:* ava ./tests/throw.test.js

test:t1

DEBUG=jsonql-params-validator:* ava ./tests/check-options.test.js

debug

inspect node_modules/ava/profile.js ./tests/combine.test.js

try

DEBUG=jsonql-params-validator:* node ./tests/fixtures/try.js

build

npm run build:es && npm run build:prod

build:es

rollup -c

build:prod

NODE_ENV=prod rollup -c

sync

DEBUG=jsonql-params-validator:sync node ./sync.js

test:h

node ./tests/fixtures/html.js

Metadata

  • MIT
  • Whatever
  • Joel Chu
  • released 5/11/2019

Downloads

Maintainers