4.4.0 • Published 5 years ago

latte-engine v4.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

LatteJS - Latte template engine in JavaScript

LatteJS is a port of Nette's Latte PHP Template Engine to Javascript, a JavaScript template library that supports the template syntax and all the features (functions, variable modifiers, etc.) of the well-known PHP template engine Latte.

LatteJS is written entirely in JavaScript, does not have any DOM/browser or third-party JavaScript library dependencies and can be run in a web browser as well as a standalone JavaScript interpreter or CommonJS environments like node.js.

LatteJS supports plugin architecture, you can extend it with custom plugins: functions, blocks and variable modifiers, templates inclusion, templates inheritance and overriding, caching, escape HTML.

LatteJS has some limited support of the PHP Latte syntax and allows you to use the same Latte templates on both server and client side, for both PHP and Javascript.

DOCUMENTATION

https://github.com/pfaciana/latte-js/wiki

TESTS

  • Test cases:- grunt karma

  • ES Lint tests:- grunt eslint

  • Run lint, run test, build, compress, distribution package and update examples in one command:- grunt

LICENSE

MIT

NOTICE

Project originally was created by miroshnikov. Since author was not active on project very frequently. I have forked and planned on pushing further improvements and features on my own fork.

4.4.0

5 years ago

4.3.3

5 years ago

4.3.2

5 years ago

4.3.1

5 years ago

4.3.0

5 years ago

4.2.0

5 years ago

4.1.0

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago