Webscript
Webscript is an HTML-like Javascript syntax for defining, creating, composing and manipulating DOM elements. It is for creating web pages, web sites, web applications. It is like HTML but it is Javascript.
- It has zero dependencies.
- It is small. It's size is about 2KB.
Webscript:
- Replaces JSX in React.
- Replaces HTML templating languages.
- Replaces HTML in Javascript applications.
- Replaces HTML in your Javascript library.
Quick Example
HTML:
Card Title
Webscript:
divclass`card-image` imgsrc`images/sample-1.jpg`alt`Sample Image` spanclass`card-title`"Card Title"
Please see the documentation here: https://mudgen.github.io/webscript/docs/
Follow me on twitter: https://twitter.com/mudgen