Skip to content

lucaswitch/pupperfit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PupperFit

A simple pdf http server.

How it works

Creates a http server that can generate complex pdf pages with full html5/css3 and javascript functionality with lower memory and time.

Installation

    yarn install pupperfit;
    // or 
    npm install pupperfit;

Running

    node index.js // Makes it be online on localhost:3001

Creating pdf

Do a simple http request with your preferred http client to http://localhost:3001 containing the desired html page.

    curl -X POST http://localhost:3001 
   -H "Content-Type: text/plain"
   -d 'Hello world :)'  

About

A webserver for pdf generation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published