hilt

0.2.1 • Public • Published

hilt Build Status

Simple Javascript library to create HTML structures without using preprocessors. React support included!

["div", {id: "main"}, ["span", "Hello World"]]

generates

<div id="main"><span>Hello World</span></div>

Usage

let link = ["a", {id: "link", href: "https://github.com/atomicptr"}, "Profile"]

containerElement.appendChild(Hilt.compileDocument(link)) // <a id="link" href="https://github.com/atomicptr">Profile</a>

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i hilt

Weekly Downloads

3

Version

0.2.1

License

MIT

Last publish

Collaborators

  • atomicptr