@divine/ghostly-engine
TypeScript icon, indicating that this package has built-in type declarations

2.4.1 • Public • Published

The Ghostly template/print formatter engine

ghostly-cli version ghostly-engine version ghostly-runtime version

Ghostly is a template engine/print formatter that can be used to render HTML or PDF documents, images and other kinds of documents from a data model or parameter set.

The templates are just a web page with a very simple API that should be implemented, which means that any normal front-end technology can be used for the actual rendering. This also makes the templates incredibly powerful, much more so than traditional template languages or XSLT stylesheets.

The Ghostly Engine is available as a Node.js module with a really simple API that you can embed in your own project. There is also a command line tool that can either render documents from the command line or start a web service that accepts HTTP requests, enabling use from any language or environment. This tool is also available as a ready-made Docker image.

The Ghostly Runtime is a small client-side library that defines the protocol required to drive the template.

Ghostly version 1 has been used in production for several years. Version 2 is a major rewrite which uses a modern headless browser engine and adds support for generating arbitrary attachments as part of the rendering operation.

Please visit our web site for more information.

Copyright 2016-2021 Martin Blom. A Divine Software™ production.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.4.14latest

Version History

VersionDownloads (Last 7 Days)Published
2.4.14
2.4.00
2.3.10
2.3.00
2.2.10
2.2.00
2.1.01
2.1.0-beta-21
2.1.0-beta-10
2.0.10
2.0.1-beta-100
2.0.1-beta-91
2.0.1-beta-80
2.0.1-beta-70
2.0.1-beta-60
2.0.1-beta-50
2.0.1-beta-40
2.0.1-beta-30
2.0.1-beta-20
2.0.1-beta-10

Package Sidebar

Install

npm i @divine/ghostly-engine

Weekly Downloads

7

Version

2.4.1

License

Apache-2.0

Unpacked Size

212 kB

Total Files

24

Last publish

Collaborators

  • leviticus