steffenmllr / joi-browserify

Shim to use Joi in the browser with Browserify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

joi-browserify NPM version Build Status

Shim to use Joi in the browser with Browserify.

The latest version of Joi is used for the build right after installation. If you want to trigger the build yourself again later, call npm run build, for Joi's unit tests, run npm run test.

Note: Validation for binary types doesn't work in the browser, so it's removed from the package.

ToDos

  • Allow custom builds for smaller file size
  • Allow translation of error messages

License

MIT

About

Shim to use Joi in the browser with Browserify

License:MIT License


Languages

Language:JavaScript 100.0%