npm

validate-provider-number
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i validate-provider-number

Weekly Downloads

262

Version

1.1.5

License

MIT

Unpacked Size

6.54 kB

Total Files

11

Last publish

Collaborators

  • richardlay
  • joshuafsharp