How to send the style/css param on the Nodejs Prince call?
https://www.npmjs.com/package/prince
Note: On the above Prince() code, the styles() function doesn't exist? So, not sure how to pass the CSS style as a parameter? Kindly help?
https://www.npmjs.com/package/prince
const Prince = require("prince")
const util = require("util")
Prince()
.styles("test.css") // < this is not working
.inputs("test.html")
.output("test.pdf")
.execute()
.then(function () {
console.log("OK: done")
}, function (error) {
console.log("ERROR: ", util.inspect(error))
})
Note: On the above Prince() code, the styles() function doesn't exist? So, not sure how to pass the CSS style as a parameter? Kindly help?