get-mexican-data-by-curp
Version:
Verify CURP and obtain personal information from the Mexican government CURP. It scrapes official site and another providers.
15 lines (14 loc) • 406 B
TypeScript
import { StringObject } from '../shared';
export declare class BadCurpFormat extends Error {
constructor(curp: string);
}
export declare class Curp extends StringObject {
private readonly curpIdPattern;
constructor(curpId: string);
get state(): string;
getIsoState(): Promise<string>;
private ensure;
private toUpperCase;
private ensureCurpId;
private isNotUndefined;
}