Set 2.0 release


I just released version 2.0 of Set, my unobtrusive JavaScript template engine for Node.js and browsers.

Change log

  • Now runs on Node 4.2.1.
  • Uses latest JSDOM (no more native module dependencies).
  • All dependencies are now up-to-date.


set '<p>Hello, <span data-set-text="name"></span>!</p>', {name: "Osky"}

Will render the following HTML:

<p>Hello, <span data-set-text="name">Osky</span>!</p>

Which the browser will render as:

Hello, Osky!

For a more real-world example, see how to use Set with Express.

Check out the Set web site on Labs for further details and more examples.


You can install Set from npm with:

npm install indie-set

Enjoy! :stuck_out_tongue_winking_eye: