uparser

0.2.1 • Public • Published

µparser

Build Status Coverage Status

The µhtml and µcontent template parser.

import parse from 'uparser';
 
const html = template => parse(template, 'secret', false);
const svg = template => parse(template, 'secret', true);
 
html`<div />`; // <div></div>
svg`<rect />`; // <rect />

Readme

Keywords

Package Sidebar

Install

npm i uparser

Weekly Downloads

248

Version

0.2.1

License

ISC

Unpacked Size

8.28 kB

Total Files

9

Last publish

Collaborators

  • webreflection