Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A fast JS mustache engine
JavaScript
branch: master

Merge pull request #8 from gmurphey/master

Fix charAt check in Leading Whitespace Handler
latest commit 8c2beec0c6
@satchmorun authored
Failed to load latest commit information.
bench another trailing comma
site json2.js
spec
.gitignore .gitignore
Makefile Makefile, initial work on site
README.md Some more work on the site.
component.json Added component.json.
index.html
mote.js Fixing issue with charAt and arrays.
package.json Version bump.

README.md

mote.js

Mote.js is a spec-compliant, fast implementation of mustache templates.

For more information, check out the mote site.

Installation

Via Node, it's as you'd expect:

npm install mote

For crying out loud, why?

Mote began its life as an exercise. I was experimenting with Handlebars and dust, Twitter had just released hogan, and I thought it would be fun to write a mustache implementation.

I got it working, then set about trying to make it fast. I didn't think I could be competitive with the existing libraries, but I tried anyway. After all, this was just supposed to be a toy.

Much to my surprise, it ended up being really fast.

Roadmap

  • utilities for server-side compilation
  • documentation
Something went wrong with that request. Please try again.