UNPKG
react-to-html
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
A react package to generate HTML for conversion to Email or PDF from shared components
react-to-html
/
src
/
cli.ts
5 lines
(4 loc)
•
104 B
text/typescript
View Raw
1
2
3
4
5
#!/usr/bin/env node
// cli.ts
import
{ renderReactToHTML }
from
'./build-html.js'
;
renderReactToHTML
();