hebo-validation

6.0.0 • Public • Published

hebo-validation

build status code coverage code style styled with prettier made with lass license npm downloads

validation functions for hebo-js

Table of Contents

Install

npm:

npm install hebo-validation

yarn:

yarn add hebo-validation

Usage

const { validateEvent, InvalidEventError }  = require('hebo-validation');
 
try {
    validateEvent(event);
} catch (err) {
    if (err instanceof InvalidEventError) {
        // ...
    }
}
 
// script

Contributors

Name
Steve Caldwell

License

MIT © Steve Caldwell

/hebo-validation/

    Package Sidebar

    Install

    npm i hebo-validation

    Weekly Downloads

    2

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    14.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • scaldwell77