Navigation

Home
Search
Submit A Resource
Contact Us
About Functionn

Subscription Options


Subscribe By Email (265+)


Lists


Archives

Sep 21, 2012

Author: Hirvesh Posted At: 9/21/2012 Tags: , , , , , , , , , , ,

Nunjucks - A Full Featured Templating Engine For JavaScript (Including Node.js)

Share:

Nunjucks is a direct port of the Python-powered Jinja2 templating engine and aims to be feature-complete with Jinja2. It supports server and client-side rendering.

It was born out of frustration with other JavaScript templating engines. According to the author, the most popular ones either are ugly and don't abstract enough (EJS) or have too different of a syntax (Jade).  The only other project like this is Jinjs, which has been abandoned.


Features

  • Beautiful templates with filters, looping, and all that you'd expect
  • It's very fast, as fast as jinja2
  • Template inheritance allows you to easily share templates across your site, without having to touch code
  • jinja2-style parsing of code {{ foo('bar', 1) }}
  • Lots of builtin tags, filters, and operators
  • Complete browser-side support with precompiled templates and a small 8K runtime
  • Extensive and thorough tests
  • Line and column number tracking

Requirements: None
Demo: http://nunjucks.jlongster.com/
License: BSD

Daily Posts, Be Updated, Subscribe:

Want Free Web Resources? Enter Your Email And We'll Send It To You - Daily! (265+ Subscribers)

Yup, it's that straight forward! Enter your email address below and we'll send you the latest web resources to your inbox, everyday. We don't do spam. Ever.

Trending Posts On Functionn This Week

Share:

Other Interesting Resources:

0 comments:

Post a Comment

 


Recent Posts

Popular Categories



Popular Components



Popular Licenses