Skip to content

snojs/sno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# snojs *

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>

## With attributes like

  1. data
  2. if
  3. click
  4. for
  5. react
  6. incl
  7. eval

## 3.82kb Build

sno is as tiny as you need with less than 300* lines of JS
Use less JavaScript write more HTML

## Add sno to your project

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