UNPKG

get-mexican-data-by-curp

Version:

Verify CURP and obtain personal information from the Mexican government CURP. It scrapes official site and another providers.

11 lines (10 loc) 435 B
import { Curp } from '../models'; import { Provider } from '../models'; import { GovernmentScrapperCache } from './GovernmentScrapperCache'; import { Mexican } from '../models'; export declare class Firestore extends Provider implements GovernmentScrapperCache { private documentPath; constructor(documentPath?: (curpValue: string) => string); save(mexican: Mexican): Promise<any>; provide(curp: Curp): Promise<any>; }