1.0.6 • Published 6 years ago
reddit-comment-renderer v1.0.6
reddit-comment-renderer
Renders a Reddit comment as a png file.
Usage
const render = require("reddit-comment-renderer");
render(
"AWildSketchAppeared" /* Username */,
"Lorem ipsum dolor sit amet" /* Comment */,
"16.5k" /* Upvotes */, "8h" /* Timestamp */,
1920 /* Image Width */,
1080 /* Image Height */,
3 /* "Zoom" */,
"out.png" /* Output File */
);
Example
Expect future updates, planning on adding:
- auto-centering + auto-scaling
- dark mode + custom colors
- desktop theme (currently mobile theme)
- replies to comments