6.0.0 • Published 6 years ago
hebo-validation v6.0.0
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