UNPKG

react-to-html

Version:

A react package to generate HTML for conversion to Email or PDF from shared components

7 lines (6 loc) 245 B
#!/usr/bin/env node // cli.ts import { renderInvoiceForBackend } from './build-html'; // Optionally, handle command-line arguments with a package like yargs or commander // Execute the main function from build-html.ts renderInvoiceForBackend();