@mahaljs/html-compiler
TypeScript icon, indicating that this package has built-in type declarations

1.9.0 • Public • Published

TEST npm version

mahal-html-compiler

official Html compiler for mahal framework

Install

npm i @mahaljs/html-compiler

Doc

mahal-html-compiler exposes createRenderer method which takes html string as input and convert it to a method which is used by mahal.js to create the html element.

import { createRenderer } from "@mahaljs/html-compiler";
const method = createRenderer(`<div>{{ujjwal}}</div>`);

Package Sidebar

Install

npm i @mahaljs/html-compiler

Weekly Downloads

2

Version

1.9.0

License

APACHE 2.0

Unpacked Size

2.68 MB

Total Files

56

Last publish

Collaborators

  • ujjwalguptaofficial