fix(readme): Update readme documentation: enhance feature summary, update installation instructions and usage examples, remove obsolete config details, and better clarify supported invoice formats.
This commit is contained in:
51
ts/plugins.ts
Normal file
51
ts/plugins.ts
Normal file
@ -0,0 +1,51 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
// PDF-related imports
|
||||
import {
|
||||
PDFDocument,
|
||||
PDFDict,
|
||||
PDFName,
|
||||
PDFRawStream,
|
||||
PDFArray,
|
||||
PDFString,
|
||||
AFRelationship
|
||||
} from 'pdf-lib';
|
||||
|
||||
// XML-related imports
|
||||
import { DOMParser, XMLSerializer } from 'xmldom';
|
||||
import * as xpath from 'xpath';
|
||||
|
||||
// Compression-related imports
|
||||
import * as pako from 'pako';
|
||||
|
||||
// Business model imports
|
||||
import { business, finance, general } from '@tsclass/tsclass';
|
||||
|
||||
// Re-export all imports
|
||||
export {
|
||||
// PDF-lib exports
|
||||
PDFDocument,
|
||||
PDFDict,
|
||||
PDFName,
|
||||
PDFRawStream,
|
||||
PDFArray,
|
||||
PDFString,
|
||||
AFRelationship,
|
||||
|
||||
// XML-related exports
|
||||
DOMParser,
|
||||
XMLSerializer,
|
||||
xpath,
|
||||
|
||||
// Compression-related exports
|
||||
pako,
|
||||
|
||||
// Business model exports
|
||||
business,
|
||||
finance,
|
||||
general
|
||||
};
|
Reference in New Issue
Block a user