2.0.1 • Published 7 years ago

sweet-render v2.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Sweet Render

A build-your-own-templating-engine sandbox

How it works

  1. Choose an input format (String, array, json)
  2. Choose an output format (HTML, React)
  3. Invent your own syntax, or use a default.
  4. Automagically render it to the page.

Table of contents:

General bragging

Lightweight

This package has no production dependencies, and no excess bloat.

Gzipped, it comes to 5kb total.

Modern

Utilizes es6+ if you do, but works fine in older javascript.

Can be used as an alternative to React's JSX allowing you to invent your own syntax and use that instead.

Elegant

Write HTML or React as if you were having a normal English conversation.

h1| Hello ${name_variable},
ul|
  li|
    a href="http://aaroncoding.com"| Click me
2.0.1

7 years ago

2.0.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago