helgoboss / droplib-pdf

Adds PDF support to droplib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Droplib PDF

Adds PDF support to droplib

Available processors

html-to-pdf

Converts HTML to PDF.

Processor arguments:

  • context: Context
  • Any other symbol provided when constructing the processor

template-function

Evaluates to a function that renders a template with the given arguments.

Symbols available in template:

  • context: Context
  • args: Object containing all the arguments which have been passed to the function template
  • Any other symbol provided when constructing the processor

...

Todos

  • Write documentation
  • Error messages, e.g. if descriptor is invalid (always automatically including processed file)
  • Glob support
  • Expose processors in a better way
  • Give default IDs to processors
  • Get all standard processors
  • Factor out heavy processors into separate modules (e.g. html-to-pdf)

About

Adds PDF support to droplib


Languages

Language:TypeScript 96.8%Language:JavaScript 3.2%