@sigfox/joi-query

Joi helpers for url query validation

Usage no npm install needed!

<script type="module">
  import sigfoxJoiQuery from 'https://cdn.skypack.dev/@sigfox/joi-query';
</script>

README

joi-query - Joi helpers for url query validation

Features

When use it?

This module can be used if you need to validate url queries using Joi

Install

npm install @sigfox/joi-query

Usage

const joi = require('joi');

// This adds the helpers to the joi instance
require('./joi-query')(joi);

Test

npm test

Licence

This project is licensed under the MIT License - see the LICENSE file for details.