Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 637 Bytes

readme.md

File metadata and controls

49 lines (28 loc) · 637 Bytes

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