@validatem/default-to

Validatem "validator" for defaulting to a certain value, when no value is given

Usage no npm install needed!

<script type="module">
  import validatemDefaultTo from 'https://cdn.skypack.dev/@validatem/default-to';
</script>

README

@validatem/default-to

Documentation for this module has not been written yet. By the time it reaches 1.0.0, it will have full documentation.

In the meantime, check out the example.js file in the repository for a usage demonstration.