Number one this week jsPDF is a library that generates PDF documents dynamically in the browser.
In a few lines of codes it’s possible to write text, insert images or draw shapes in the document and let the user save the PDF file from the browser.
The API lets you render the PDF document as a “data URI string” that can be assigned to a <iframe>
element in your page, allowing the user to preview the PDF file before saving it.
Quicklink
+967 ★
⚡️Faster subsequent page-loads by prefetching in-viewport links during idle time
Sharp
+848 ★
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP and TIFF images. Uses the libvips library.
30 seconds of code
+749 ★
Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.
Vue.js
+695 ★
🖖 A progressive, incrementally-adoptable JavaScript framework for building UI on the web.
React
+453 ★
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Any question or feedback? Reach us on GitHub.
Best of JavaScript is a project created by Michael Rambeau, made in Osaka, Japan.