A wrapper for hogan.js that makes its features available as javascript promises