UNPKG

facturajs

Version:

Comunicación con los web services de AFIP utilizando nodejs.

16 lines (15 loc) • 604 B
/// <reference types="node" /> import * as fs from 'fs'; export declare const readFile: typeof fs.promises.readFile; export declare const writeFile: typeof fs.promises.writeFile; export declare const enum LOG { NONE = 1, ERROR = 2, WARN = 3, INFO = 4, DEBUG = 5 } export declare function debug(level: number, ...rest: any[]): void; export declare function parseXml<T>(xml: string): Promise<T>; export declare function readStringFromFile(path: string, encoding?: string): Promise<string>; export declare function signMessage(message: string, cert: string, privateKey: string): string;