Skip to content

Module for the lynx framework to enable the creation of PDF files

License

Notifications You must be signed in to change notification settings

jellyfishsolutions/lynx-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lynx-pdf

Module for the lynx framework to enable the creation of PDF files.

Requires [email protected] or later versions.

Usage

The module defines static method to generates PDFs.

It is possible to generate a Media entity (preferred method):

let media = await PdfModule.generateMediaFromTemplate('templates/pdf/example', context, {}, req.user, pdfDirectory);

or a temporary file:

let path = await PdfModule.generateFromTemplate('templates/pdf/example', context);

About

Module for the lynx framework to enable the creation of PDF files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published