xtemplate
Version:
eXtensible Template Engine lib on browser and nodejs. support async control, inheritance, include, logic expression, custom function and more.
63 lines (39 loc) • 2.03 kB
Markdown
# xtemplate
eXtensible Template Engine lib on browser and nodejs.
support async control, inheritance, include, logic expression, custom function and more.
[](https://npmjs.org/package/xtemplate)
[](https://npmjs.org/package/xtemplate)
[](https://travis-ci.org/kissyteam/xtemplate)
[](https://coveralls.io/r/kissyteam/xtemplate?branch=master)
[](https://gemnasium.com/kissyteam/xtemplate)
[](http://badge.fury.io/bo/xtemplate)
[](http://nodejs.org/download/)
[](https://ci.testling.com/kissyteam/xtemplate)
## api
https://github.com/kissyteam/xtemplate/blob/master/docs/api.md
## syntax
https://github.com/kissyteam/xtemplate/blob/master/docs/syntax.md
## use on browser
support [requirejs](https://github.com/jrburke/requirejs) [modulex](https://github.com/kissyteam/modulex)
[kissy](http://docs.kissyui.com) [kissy gallery](http://gallery.kissyui.com)
guide: https://github.com/kissyteam/xtemplate/blob/master/docs/use-on-browser.md
demo: https://github.com/yiminghe/xtemplate-on-browser
## use on node
https://github.com/kissyteam/xtpl
## changelog
https://github.com/kissyteam/xtemplate/milestones
## contribute
### fork and clone
### prepare environment
```
npm install bower -g
npm install
bower install
node server
```
then open http://localhost:8002/tests/runner.html
### open issue
### modify code at lib
### commit and pull request
## License
xtemplate is released under the MIT license.