hebo-validation
v6.0.0
Published
validation functions for hebo-js
Readme
hebo-validation
validation functions for hebo-js
Table of Contents
Install
npm:
npm install hebo-validationyarn:
yarn add hebo-validationUsage
const { validateEvent, InvalidEventError } = require('hebo-validation');
try {
validateEvent(event);
} catch (err) {
if (err instanceof InvalidEventError) {
// ...
}
}
// scriptContributors
| Name | | ------------------ | | Steve Caldwell |
License
MIT © Steve Caldwell
