joi-expo-push-token

Expo Push Token validation for Joi

Usage no npm install needed!

<script type="module">
  import joiExpoPushToken from 'https://cdn.skypack.dev/joi-expo-push-token';
</script>

README

joi-expo-push-token

Expo Push Token validation for Joi.

NPM Version NPM Downloads Build Status Coverage Status License: MIT

Installation

It can be installed from the npm registry:

$ npm install joi-expo-push-token

Usage example

const joi = Joi.extend(require('joi-expo-push-token'));

joi.string().expoPushToken().validate(maybeToken);

License

MIT