New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@divine/ghostly-runtime

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@divine/ghostly-runtime

Ghostly template/print formatter runtime support

  • 2.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by14.29%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 07 Dec 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc