@share911/meteor-check

Check whether a value matches a pattern library from Meteor made compatible for Nodejs and Browserify

Usage no npm install needed!

<script type="module">
  import share911MeteorCheck from 'https://cdn.skypack.dev/@share911/meteor-check';
</script>

README

check

import { check, Match } from '@share911/meteor-check'

See the meteor check documentation for more detailed information.

License

This module is licensed under MIT. Same as Meteor.js is.

Credit

Goes to @primus for his https://www.npmjs.com/package/ejson - This module is a uses of his wrapper pattern.