Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
new toBase64 function #303
Conversation
added a new overload "toBase64" function for converting an html into a base64 string. usage example: sending an email that recived only base 64 ( send grid sdk )
I'd use pdf.create(html).toBuffer(function (err, buffer) {
if (err) throw err
const base64 = buffer.toString('base64')
...
}) |
added a new overload "toBase64" function for converting an html into a base64 string.
usage example: sending an email that received only base 64 ( send grid sdk )