Building the web your way
v4 snocrystal
Build Declarative UIs without ever leaving your HTML.
To support older versions continue using
<script src="https://snojs.github.io/sno/sno.js"></script>
<div data='{count:1,update:setInterval(()=>{$("count++")},100)}'>
<p react>
{{count}}
</p><br/>
<button onclick="$('clearInterval(update)')">
Stop
</button>
</div>
- data
- if
- click
- for
- react
- incl
- eval
sno is as tiny as you need with less than 300* lines of JS
Use less JavaScript write more HTML
All you need is One script tag
Download Locally Here
Run from the link with a script tag
<script src="https://snojs.github.io/build/crystal.js"></script>
Liscensed with MIT