pdfmake-rtl
Version:
Enhanced PDFMake with automatic RTL (Arabic/Persian/Urdu) support - Complete standalone package (beta)
27 lines (20 loc) • 715 B
JavaScript
/**
* PDFMake RTL - Enhanced PDFMake with automatic RTL support
*
* Supports Arabic, Persian (Farsi), and Urdu languages with automatic
* text direction detection and table column reversal.
*
* Main entry point for the package
*/
;
// Export the main PdfPrinter class (same as PDFMake)
const PdfPrinter = require('./src/printer');
// Export RTL utilities for advanced usage
const RTLUtils = require('./src/rtlUtils');
// Export as default (CommonJS)
module.exports = PdfPrinter;
// Export utilities as named exports
module.exports.RTLUtils = RTLUtils;
module.exports.PdfPrinter = PdfPrinter;
// For ES6 imports compatibility
module.exports.default = PdfPrinter;