falost / node-puppeteer-poster

使用 puppeteer 来搭建海报渲染中台服务

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node-Puppeteer-Poster

利用 node-puppeteer 渲染前端页面生成海报服务

QuickStart

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js 8.x
  • Typescript 2.8+

About

使用 puppeteer 来搭建海报渲染中台服务


Languages

Language:TypeScript 96.4%Language:JavaScript 3.6%