mithril-template-builder

1.3.1 • Public • Published

Mithril Template Builder

Helper function to create Mithril templates from HTML.

import { templateBuilder } from "mithril-template-builder"

const source = "<hr/>"
const output = templateBuilder({
  source
})

Tests

Run tests/testrunner.html in a browser.

Readme

Keywords

none

Package Sidebar

Install

npm i mithril-template-builder

Weekly Downloads

0

Version

1.3.1

License

MIT

Unpacked Size

54.1 kB

Total Files

5

Last publish

Collaborators

  • arthurclemens