6.0.0 • Published 5 years ago

hebo-validation v6.0.0

Weekly downloads
18
License
MIT
Repository
github
Last release
5 years ago

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

6.0.0

5 years ago

5.0.0

5 years ago

4.1.0

5 years ago

4.0.0

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago