Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html to png node

const nodeHtmlToImage = require('node-html-to-image')

nodeHtmlToImage({
  output: './image.png',
  html: '<html><body>Hello world!</body></html>'
})
  .then(() => console.log('The image was created successfully!'))
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #html #png #node
ADD COMMENT
Topic
Name
6+9 =