/business-card-generator-puppeteer-cluster

Node.js script that generates PDF files via clustering (multi-thread processing).

Primary LanguageJavaScript

Business Card Generator with Puppeteer Cluster

👷 Developed by Matheus Ramalho de Oliveira
🔨 Brazilian Software Engineer
🏡 Goiânia, Goiás, Brasil
✉️ kastorcode@gmail.com
👍 instagram.com/kastorcode


This script uses the best practice to read a JSON file, render as a website and generate a PDF for each item in a scalable way through clustering.


Screenshot


Installation and execution

  1. Make a clone of this repository;
  2. Open the project folder in a terminal;
  3. Run yarn to install dependencies;
  4. Run yarn start to start the multi-thread processing.

<kastor.code/>