@webreflection/uparser

0.3.3 • Public • Published

µparser

Build Status Coverage Status

The µhtml and µcontent template parser.

import parse from '@webreflection/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 @webreflection/uparser

Weekly Downloads

2,513

Version

0.3.3

License

ISC

Unpacked Size

8.16 kB

Total Files

10

Last publish

Collaborators

  • webreflection