UNPKG

@fin.cx/einvoice

Version:

A TypeScript module for creating, manipulating, and embedding XML data within PDF files specifically tailored for electronic invoice (einvoice) packages.

15 lines (14 loc) 771 B
/** * Centralized imports for all external npm modules * This file serves as a single point of import for all external dependencies * to make the codebase more maintainable and follow the DRY principle. */ import * as fs from 'fs/promises'; import * as path from 'path'; import * as crypto from 'crypto'; import { PDFDocument, PDFDict, PDFName, PDFRawStream, PDFArray, PDFString, AFRelationship } from 'pdf-lib'; import { DOMParser, XMLSerializer } from 'xmldom'; import * as xpath from 'xpath'; import * as pako from 'pako'; import { business, finance, general } from '@tsclass/tsclass'; export { fs, path, crypto, PDFDocument, PDFDict, PDFName, PDFRawStream, PDFArray, PDFString, AFRelationship, DOMParser, XMLSerializer, xpath, pako, business, finance, general };