Socket
Socket
Sign inDemoInstall

@divine/ghostly-engine

Package Overview
Dependencies
23
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @divine/ghostly-engine

Ghostly template/print formatter engine


Version published
Weekly downloads
26
increased by420%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 07 Dec 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc