I have this code in Ruby that I am trying to set up in a node.js app
File.open("./my-pdf.pdf", "wb") do |file| file.write open("