dustjs

WebJar for dustjs

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

dustjs
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

dustjs
WebJar for dustjs
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/akdubya/dustjs

Download dustjs

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/dustjs/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>dustjs</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/dustjs/
implementation 'org.webjars.bower:dustjs:0.3.0'
// https://jarcasting.com/artifacts/org.webjars.bower/dustjs/
implementation ("org.webjars.bower:dustjs:0.3.0")
'org.webjars.bower:dustjs:jar:0.3.0'
<dependency org="org.webjars.bower" name="dustjs" rev="0.3.0">
  <artifact name="dustjs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='dustjs', version='0.3.0')
)
libraryDependencies += "org.webjars.bower" % "dustjs" % "0.3.0"
[org.webjars.bower/dustjs "0.3.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Dust

Asynchronous templates for the browser and node.js

http://akdubya.github.com/dustjs

Why?

I like Mustache and variants but none of them offers quite what I need.

Use Dust if you want these things:

  • async/streaming operation
  • browser/node compatibility
  • extended Mustache/ctemplate syntax
  • clean, low-level API
  • high performance
  • composable templates

Composable templates?

{^xhr}
  {>base_template/}
{:else}
  {+main/}
{/xhr}
{<title}
  Child Title
{/title}
{<main}
  Child Content
{/main}

Installation

In Node:

$ npm install dust

To render compiled templates in the browser:

<script src="dust-core-0.3.0.min.js"></script>

Demo & Guide

Extensive docs and a full demo are available at http://akdubya.github.com/dustjs

Versions

Version
0.3.0