0.2.0 • Published 4 years ago

webscript v0.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

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.

  1. It has zero dependencies.
  2. It is small. It's size is about 2KB.

Webscript:

  1. Replaces JSX in React. 
  2. Replaces HTML templating languages.
  3. Replaces HTML in Javascript applications.
  4. Replaces HTML in your Javascript library.

Quick Example

HTML:

<div class="card-image">
  <img src="images/sample-1.jpg" alt="Sample Image" />
  <span class="card-title">Card Title</span>
</div>

Webscript:

div.class`card-image`(
  img.src`images/sample-1.jpg`.alt`Sample Image`,
  span.class`card-title`("Card Title"))

Please see the documentation here: https://mudgen.github.io/webscript/docs/

Follow me on twitter: https://twitter.com/mudgen

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago