网上喜欢的文章 瞬间保存成pdf随时随地查看 不需要上网
还支持api
var pdf = require('pdfcrowd');
// create an API client instance
var client = new pdf.Pdfcrowd("username", "apikey");
// convert an HTML string and send the generated PDF in a HTTP response
client.convertHtml('<html>regular HTML code</html>', pdf.sendHttpResponse(response));
// convert a web page and save it to a file
client.convertURI('http://www.google.com', pdf.saveToFile("google_com.pdf"));
// convert a local HTML file:
client.convertFile('/local/file.html', pdf.saveToFile("file.pdf"));