The daily-habit-tracker.js generates a calendar using the jsPDF library.
The output of this js program looks like this PDF.
Paste this code into
the text area of a jsPDF playground and
download the PDF. Change the year
variable to get calendar
for future years.
The project source code resides on github.