validate-provider-number
Validates a provider number
Install
$ yarn add validate-provider-number
Or NPM:
$ npm install validate-provider-number
Usage
// Using commonjs
const validateProviderNumber = require('validate-provider-number');
validateProviderNumber('2429581T');
// Returns true
// Using ES modules
import { validateProviderNumber } from 'validate-provider-number';
validateProviderNumber('2429581T');
// Returns true
API
validateProviderNumber(input)
input
Type: string
The provider number to validate
License
MIT © Medipass