PDFKit – how can I create a link on one page that goes to a different page using an internal bookmark?

  javascript, node-pdfkit, node.js, pdfkit

I am using PDFKit version 0.11.0 in Nodejs. I can create my PDF how I like it and I can even create bookmarks.

What I want to add is a header page that has links to the various bookmarks within the generated PDF.

Has anyone done this of know where some docs are that explain how to do this?

Source: Ask Javascript Questions