A Node.js module that generates images from HTML
{{fontUrl}}") format("truetype"); } body { font-family: 'testFont'; } </style> </head> <body> <h1>My awesome title</h1> <p>my awesome content</p> </body> </html> ` nodeHtmlToImage({ output: './image.png', html: html, content: { fontUrl: _data } }) ``` ### Using the buffer instead of saving to disk In some cases you might not want to save the output to a file. You can use the buffer instead: ```js const nodeHtmlToImage = require('node-html-to-image') nodeHtmlToImage({ html: '<html><body>Hello world!</body></html>' }) .then(buffer => console.log('The image buffer was created successfully!')) ``` ### Generating multiple images You can generate multiple images by providing an array of objects to the content property: ```js const nodeHtmlToImage = require('node-html-to-image') nodeHtmlToImage({ output: './image.png', html: '<html><body>Hello {{name}}!</body></html>', content: [{ name: 'you' }, { name: 'me'
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.