@watchmen/schema-helpr

1.5.0 • Public • Published

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

XO code style styled with prettier Build Status npm (scoped)

see tests for examples

usage

  1. yarn install {package name}
  2. import {...} from '{package name}'

development

  1. git clone {repo name}
  2. cd {repo name}
  3. yarn
  4. yarn test

Readme

Keywords

none

Package Sidebar

Install

npm i @watchmen/schema-helpr

Weekly Downloads

2

Version

1.5.0

License

ISC

Last publish

Collaborators

  • tony-kerz