A fast JS mustache engine
JavaScript Ruby
Latest commit 8c2beec Jun 7, 2013 @satchmorun Merge pull request #8 from gmurphey/master
Fix charAt check in Leading Whitespace Handler
Permalink
Failed to load latest commit information.
bench another trailing comma Feb 18, 2012
site json2.js Feb 18, 2012
spec Makefile, initial work on site Feb 9, 2012
.gitignore .gitignore Feb 9, 2012
Makefile Makefile, initial work on site Feb 9, 2012
README.md Some more work on the site. Feb 10, 2012
component.json Added component.json. Dec 9, 2012
index.html json2.js Feb 18, 2012
mote.js Fixing issue with charAt and arrays. Jun 6, 2013
package.json

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