Novice, Practiced, Mastered

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

    Install

    npm i uparser

    DownloadsWeekly Downloads

    788

    Version

    0.2.1

    License

    ISC

    Unpacked Size

    8.28 kB

    Total Files

    9

    Last publish

    Collaborators

    • webreflection