8000 GitHub - stevecaldwell77/hebo-validation: validation functions for hebo-js
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stevecaldwell77/hebo-validation

Repository files navigation

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

About

validation functions for hebo-js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0