jsonql-params-validator

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

prepare

npm run build

test

DEBUG=jsonql-params-validator* ava

test:result

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

test:config:check

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

test:basic

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

test:combine

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

test:throw

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

test:check:async

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

test:check:sync

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

test:check:client

DEBUG=jsonql-params-validator:* ava ./tests/check-node-client-async.test.js

test:config

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

test:params

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

test:bug

DEBUG=jsonql-params-validator* ava ./tests/ws-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:umd && npm run build:cjs

build:umd

rollup -c

build:cjs

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 6/29/2019

Downloads

Maintainers