picosnippet() JavaScript templating

The picosnippet() function provides very simple and easy to use HTML/DOM templating capabilities.

It does not use any sort of special templating syntax - the template can be any valid HTML element. The data, represented by JavaScript associative arrays, are spliced into a copy of the template using simple, consistent, and easy to remember rules.

This allows the user to completely separate the HTML markup from the application JavaScript logic without using complicated libraries.


Get picosnippet() at github.


Read picosnippet() documentation.