hbs-wasm
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

hbs-wasm

WASM handlebars template engine bindings, to be used with NodeJS

@param {string} handlebars template string
@param {any} context to render template
@param {boolean | undefined} minify (true by default)
@returns {string}

Usage:

  const { render } = require('hbs-wasm')

  const rendered = render('<h1>{{example}}<h1>', { example: 'this is my template' })

Package Sidebar

Install

npm i hbs-wasm

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

679 kB

Total Files

6

Last publish

Collaborators

  • dymoo