Package Exports
- webscript
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webscript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.
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