Skip to content

Convert polotno JSON into PDF from NodeJS

Notifications You must be signed in to change notification settings

fwalker007/polotno-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polotno PDF

Convert polotno JSON into PDF file from NodeJS.

npm install polotno-pdf
import fs from 'fs';
import { jsonToPDF } from 'polotno-pdf';

async function run() {
  const json = JSON.parse(fs.readFileSync('./polotno.json'));
  await jsonToPDF(json, './output.pdf');
}

run();

About

Convert polotno JSON into PDF from NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published