feat(initial): add comprehensive PDF to JPEG preview library with dual-environment support
- Add Node.js implementation using @push.rocks/smartpdf - Add browser implementation with PDF.js and Web Workers - Support configurable quality, dimensions, and page selection - Include comprehensive TypeScript definitions and error handling - Provide extensive test coverage for both environments - Add download functionality and browser compatibility checking
This commit is contained in:
15
ts/plugins.ts
Normal file
15
ts/plugins.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Module dependencies are imported here following the guidelines
|
||||
*/
|
||||
|
||||
// External dependencies
|
||||
export { SmartPdf } from '@push.rocks/smartpdf';
|
||||
export * as smartenv from '@push.rocks/smartenv';
|
||||
export * as smartjson from '@push.rocks/smartjson';
|
||||
export * as smartpromise from '@push.rocks/smartpromise';
|
||||
|
||||
// Node.js built-in modules
|
||||
export * as fs from 'fs';
|
||||
import * as pathImport from 'path';
|
||||
export const path = pathImport;
|
||||
export * as buffer from 'buffer';
|
Reference in New Issue
Block a user