pdf & watermark & puppeteer
pdf & watermark & puppeteer
partly transparent background image
https://en.wikipedia.org/wiki/Watermark
demo
https://www.ilovepdf.com/pdf_add_watermark
pdf & watermark
tools
https://github.com/chuongtrh/html_to_pdf
https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagegotourl-options
https://www.npmjs.com/search?q=keywords:pdf-watermark
https://github.com/Jimmy-JS/react-pdf-watermark
PM2
https://pm2.io/doc/en/runtime/guide/installation/
https://github.com/Unitech/PM2/
https://blog.linuxeye.cn/435.html
$ npm install pm2 -g
https://raw.githubusercontent.com/Unitech/pm2/master/packager/setup.deb.sh
PM2 ecosystem.config.js
ecosystem.config.js
module.exports = {
apps : [{
name: "app",
script: "./app.js",
env: {
NODE_ENV: "development",
},
env_production: {
NODE_ENV: "production",
}
}]
}
# $ pm2 [start|restart|stop|delete] ecosystem.config.js
$ pm2 start ecosystem.config.js
https://doc.pm2.io/en/runtime/guide/ecosystem-file/
https://pm2.keymetrics.io/docs/usage/application-declaration/
https://yarnpkg.com/en/docs/cli/install
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/9759852.html
未经授权禁止转载,违者必究!