/easy-joi

Easy helper functions for joi

Primary LanguageJavaScriptMIT LicenseMIT

easy-joi

Beerpay Beerpay GitHub stars

Easy helper functions for joi

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Promise based validation
  • Boolean validation

Installation

npm install --save easy-joi

Dependencies

Usage

import { isValid } from 'easy-joi';

async function() {
  const email = 'email@example.com';
  console.log(await isValid(email, joi.string().email()));
}();

Support

Submit an issue

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Beerpay (actually, I drink coffee)

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you'd like to keep me going!

Beerpay Beerpay