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 />

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.1
    186
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.1
    186
  • 0.2.0
    5
  • 0.1.0
    5
  • 0.0.1
    5
  • 0.0.0
    5

Package Sidebar

Install

npm i uparser

Weekly Downloads

206

Version

0.2.1

License

ISC

Unpacked Size

8.28 kB

Total Files

9

Last publish

Collaborators

  • webreflection