node-schema-helpr
miscellaneous schema helper functions
design goal is to support validation on server-side and expose via rest-api to client-side to allow coordination of ui form generation and validation.
- based on joi for server-side validation
- uses output of the joi describe feature to externalize to client-side
see tests for examples
usage
yarn install {package name}
import {...} from '{package name}'
development
git clone {repo name}
cd {repo name}
yarn
yarn test