Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xtemplate/xtemplate

eXtensible Template Engine lib for node and the browser
https://github.com/xtemplate/xtemplate

Last synced: 4 days ago
JSON representation

eXtensible Template Engine lib for node and the browser

Awesome Lists containing this project

README

        

# xtemplate
---

High Speed, eXtensible Template Engine lib on browser and nodejs.
support async control, inheritance, include, logic expression, custom function and more.

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]

[npm-image]: http://img.shields.io/npm/v/xtemplate.svg?style=flat-square
[npm-url]: http://npmjs.org/package/xtemplate
[travis-image]: https://img.shields.io/travis/xtemplate/xtemplate.svg?style=flat-square
[travis-url]: https://travis-ci.org/xtemplate/xtemplate
[coveralls-image]: https://img.shields.io/coveralls/xtemplate/xtemplate.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/xtemplate/xtemplate?branch=master
[node-image]: https://img.shields.io/badge/node.js-%3E=8.0.0-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/xtemplate.svg?style=flat-square
[download-url]: https://npmjs.org/package/xtemplate

## install

[![xtemplate](https://nodei.co/npm/xtemplate.png)](https://npmjs.org/package/xtemplate)

## resources

- [online example](http://xtemplate.github.io/xtemplate)
- [template syntax](https://github.com/xtemplate/xtemplate/blob/master/docs/syntax.md)([模板语法中文版](https://github.com/xtemplate/xtemplate/blob/master/docs/syntax-cn.md))
- [API](https://github.com/xtemplate/xtemplate/blob/master/docs/api.md)
- [中文介绍](https://github.com/xtemplate/xtemplate/blob/master/docs/tutorial/introduce.md)
- [dailyjs](http://dailyjs.com/2014/09/24/node-roundup/)
- [change log](https://github.com/xtemplate/xtemplate/blob/master/HISTORY.md)

## use on browser

support [requirejs](https://github.com/jrburke/requirejs) [modulex](https://github.com/modulex/modulex)
[kissy](http://docs.kissyui.com) [kissy gallery](http://gallery.kissyui.com)

- [中文教程](https://github.com/xtemplate/xtemplate/blob/master/docs/tutorial/use-on-browser.md)
- [demo](https://github.com/xtemplate/xtemplate-on-browser)

## use on node

Please use [xtpl](https://github.com/xtemplate/xtpl)

## contribute

[contribute](https://github.com/xtemplate/xtemplate/blob/master/CONTRIBUTING.md)

## License

xtemplate is released under the [MIT license](http://opensource.org/licenses/MIT).