Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colonjs/colon
Minimal, concise and blazing fast template engine.
https://github.com/colonjs/colon
colon javascript template-engine
Last synced: about 1 month ago
JSON representation
Minimal, concise and blazing fast template engine.
- Host: GitHub
- URL: https://github.com/colonjs/colon
- Owner: colonjs
- License: mit
- Created: 2017-05-13T09:45:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-23T02:32:09.000Z (almost 6 years ago)
- Last Synced: 2024-10-15T09:22:35.345Z (about 2 months ago)
- Topics: colon, javascript, template-engine
- Language: JavaScript
- Homepage: https://colonjs.github.io
- Size: 178 KB
- Stars: 48
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - colon - Minimal, concise and blazing fast template engine. (JavaScript)
README
colon:
Minimal, concise and blazing fast template engine.
Server side render is coming.
### Usage
See [the website](https://colonjs.github.io/).
### Why colon
- `siwg`, `art-template`, `doT` ...
```html
{{ title }}
- {{ author }}
{% for author in authors %}
{% endfor %}
```
- `colon`
```html
{{ title }}
- {{ author }}
```
`colon` has a more concise template syntax.
### Thanks
- syntax inspired by [Vue](https://github.com/vuejs/vue)
### License
Licensed under the [MIT License](https://github.com/colonjs/colon/blob/master/LICENSE)