A tool used to render strings of text into images.
npm i -g string-render-tool
npm i string-render-tool
npm i -D string-render-tool
string-render-tool --font-size 12 "Hello, world!" -o hello_world.png
const { StringRenderTool } = require("string-render-tool");
const stringRenderer = new StringRenderTool({ fontSize: 12 });
stringRenderer.render({ output: "hello_world.png", string: "Hello, world!" });
{
"name": "example",
"version": "0.0.0",
"scripts": {
"start": "string-render-tool \"Hello, world!\""
},
"devDependencies": {
"string-render-tool": "0.0.0"
}
}