Comparing version 0.1.1 to 0.1.2
@@ -0,5 +1,47 @@ | ||
import * as ad from './ad'; | ||
import * as al from './al'; | ||
import * as ar from './ar'; | ||
import * as at from './at'; | ||
import * as br from './br'; | ||
import * as bz from './bz'; | ||
import * as ca from './ca'; | ||
import * as cl from './cl'; | ||
import * as co from './co'; | ||
import * as cr from './cr'; | ||
import * as doV from './do'; | ||
import * as ec from './ec'; | ||
import * as es from './es'; | ||
import * as gt from './gt'; | ||
import * as mx from './mx'; | ||
import * as pe from './pe'; | ||
import * as py from './py'; | ||
import * as ru from './ru'; | ||
import * as sv from './sv'; | ||
import * as us from './us'; | ||
import * as uy from './uy'; | ||
import * as ve from './ve'; | ||
export { Validator } from './types'; | ||
export declare const stdnum: { | ||
ad: typeof ad; | ||
al: typeof al; | ||
ar: typeof ar; | ||
at: typeof at; | ||
br: typeof br; | ||
bz: typeof bz; | ||
ca: typeof ca; | ||
cl: typeof cl; | ||
co: typeof co; | ||
cr: typeof cr; | ||
do: typeof doV; | ||
ec: typeof ec; | ||
es: typeof es; | ||
gt: typeof gt; | ||
mx: typeof mx; | ||
pe: typeof pe; | ||
py: typeof py; | ||
ru: typeof ru; | ||
sv: typeof sv; | ||
us: typeof us; | ||
uy: typeof uy; | ||
ve: typeof ve; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.stdnum = void 0; | ||
const ad = require("./ad"); | ||
const al = require("./al"); | ||
const ar = require("./ar"); | ||
const at = require("./at"); | ||
const br = require("./br"); | ||
const bz = require("./bz"); | ||
const ca = require("./ca"); | ||
const cl = require("./cl"); | ||
const co = require("./co"); | ||
const cr = require("./cr"); | ||
const doV = require("./do"); | ||
const ec = require("./ec"); | ||
const es = require("./es"); | ||
const gt = require("./gt"); | ||
const mx = require("./mx"); | ||
const pe = require("./pe"); | ||
const py = require("./py"); | ||
const ru = require("./ru"); | ||
const sv = require("./sv"); | ||
const us = require("./us"); | ||
const uy = require("./uy"); | ||
const ve = require("./ve"); | ||
exports.stdnum = { | ||
ad, | ||
al, | ||
ar, | ||
at, | ||
br, | ||
bz, | ||
ca, | ||
cl, | ||
co, | ||
cr, | ||
do: doV, | ||
ec, | ||
es, | ||
gt, | ||
mx, | ||
pe, | ||
py, | ||
ru, | ||
sv, | ||
us, | ||
uy, | ||
ve, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkJBQTJCO0FBSWQsUUFBQSxNQUFNLEdBQUc7SUFDcEIsRUFBRTtDQUNILENBQUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkJBQTJCO0FBQzNCLDJCQUEyQjtBQUMzQiwyQkFBMkI7QUFDM0IsMkJBQTJCO0FBQzNCLDJCQUEyQjtBQUMzQiwyQkFBMkI7QUFDM0IsMkJBQTJCO0FBQzNCLDJCQUEyQjtBQUMzQiwyQkFBMkI7QUFDM0IsMkJBQTJCO0FBQzNCLDRCQUE0QjtBQUM1QiwyQkFBMkI7QUFDM0IsMkJBQTJCO0FBQzNCLDJCQUEyQjtBQUMzQiwyQkFBMkI7QUFDM0IsMkJBQTJCO0FBQzNCLDJCQUEyQjtBQUMzQiwyQkFBMkI7QUFDM0IsMkJBQTJCO0FBQzNCLDJCQUEyQjtBQUMzQiwyQkFBMkI7QUFDM0IsMkJBQTJCO0FBSWQsUUFBQSxNQUFNLEdBQUc7SUFDcEIsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUUsRUFBRSxHQUFHO0lBQ1AsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7Q0FDSCxDQUFDIn0= |
@@ -0,5 +1,47 @@ | ||
import * as ad from './ad'; | ||
import * as al from './al'; | ||
import * as ar from './ar'; | ||
import * as at from './at'; | ||
import * as br from './br'; | ||
import * as bz from './bz'; | ||
import * as ca from './ca'; | ||
import * as cl from './cl'; | ||
import * as co from './co'; | ||
import * as cr from './cr'; | ||
import * as doV from './do'; | ||
import * as ec from './ec'; | ||
import * as es from './es'; | ||
import * as gt from './gt'; | ||
import * as mx from './mx'; | ||
import * as pe from './pe'; | ||
import * as py from './py'; | ||
import * as ru from './ru'; | ||
import * as sv from './sv'; | ||
import * as us from './us'; | ||
import * as uy from './uy'; | ||
import * as ve from './ve'; | ||
export { Validator } from './types'; | ||
export declare const stdnum: { | ||
ad: typeof ad; | ||
al: typeof al; | ||
ar: typeof ar; | ||
at: typeof at; | ||
br: typeof br; | ||
bz: typeof bz; | ||
ca: typeof ca; | ||
cl: typeof cl; | ||
co: typeof co; | ||
cr: typeof cr; | ||
do: typeof doV; | ||
ec: typeof ec; | ||
es: typeof es; | ||
gt: typeof gt; | ||
mx: typeof mx; | ||
pe: typeof pe; | ||
py: typeof py; | ||
ru: typeof ru; | ||
sv: typeof sv; | ||
us: typeof us; | ||
uy: typeof uy; | ||
ve: typeof ve; | ||
}; |
@@ -0,5 +1,47 @@ | ||
import * as ad from './ad'; | ||
import * as al from './al'; | ||
import * as ar from './ar'; | ||
import * as at from './at'; | ||
import * as br from './br'; | ||
import * as bz from './bz'; | ||
import * as ca from './ca'; | ||
import * as cl from './cl'; | ||
import * as co from './co'; | ||
import * as cr from './cr'; | ||
import * as doV from './do'; | ||
import * as ec from './ec'; | ||
import * as es from './es'; | ||
import * as gt from './gt'; | ||
import * as mx from './mx'; | ||
import * as pe from './pe'; | ||
import * as py from './py'; | ||
import * as ru from './ru'; | ||
import * as sv from './sv'; | ||
import * as us from './us'; | ||
import * as uy from './uy'; | ||
import * as ve from './ve'; | ||
export const stdnum = { | ||
ad, | ||
al, | ||
ar, | ||
at, | ||
br, | ||
bz, | ||
ca, | ||
cl, | ||
co, | ||
cr, | ||
do: doV, | ||
ec, | ||
es, | ||
gt, | ||
mx, | ||
pe, | ||
py, | ||
ru, | ||
sv, | ||
us, | ||
uy, | ||
ve, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFJM0IsTUFBTSxDQUFDLE1BQU0sTUFBTSxHQUFHO0lBQ3BCLEVBQUU7Q0FDSCxDQUFDIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0IsT0FBTyxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0IsT0FBTyxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0IsT0FBTyxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDM0IsT0FBTyxLQUFLLEVBQUUsTUFBTSx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U7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0lBQ0YsRUFBRTtJQUNGLEVBQUU7SUFDRixFQUFFO0NBQ0gsQ0FBQyJ9 |
{ | ||
"name": "stdnum", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Standard Number Validation", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -8,2 +8,10 @@ # Country Standard Numbers | ||
## Quick start | ||
import { stdnum } from 'stdnum'; | ||
const { isValid } = stdnum.br.cpf.validate('xyzzy'); | ||
// isValid is false | ||
## Supported Countries and Numbers | ||
@@ -10,0 +18,0 @@ |
621356
311
8222
75