crustache
Version, currently 2.4.424 versions
- 2.4.4latestJun 8, 2021
- 2.4.3not indexedMar 13, 2024
- 2.4.2not indexedMar 13, 2024
- 2.4.1not indexedMar 13, 2024
- 2.4.0not indexedMar 13, 2024
- 2.3.0not indexedMar 13, 2024
- 2.2.4not indexedMar 13, 2024
- 2.2.3not indexedMar 13, 2024
- 2.2.2not indexedMar 13, 2024
- 2.2.1not indexedMar 13, 2024
- 2.2.0not indexedMar 13, 2024
- 2.1.0not indexedMar 13, 2024
- 2.0.1not indexedMar 13, 2024
- 2.0.0not indexedMar 13, 2024
- 1.0.2not indexedMar 13, 2024
- 1.0.1not indexedMar 13, 2024
- 1.0.0not indexedMar 13, 2024
- 0.3.2not indexedMar 13, 2024
- 0.3.1not indexedMar 13, 2024
- 0.3.0not indexedMar 13, 2024
- 0.2.1not indexedMar 13, 2024
- 0.2.0not indexedMar 13, 2024
- 0.1.1not indexedMar 13, 2024
- 0.1.0not indexedMar 13, 2024
github.com/makenowjust/crustache
{{Mustache}} for Crystal
88 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crustache:
github: makenowjust/crustache
version: ~> 2.4.4Then run:
shards installshard.yml
- Crystal
1.0.0- License
- MIT
- Author
- TSUYUSATO Kitsune <make.just.on@gmail.com>
Dependencies
This version declares no dependencies.
README
# crustache
crustache is the implementation of __[mustache](https://mustache.github.io/)__ logic-less templates.
This library implemated [mustache's spec v1.1.2+λ](https://github.com/mustache/spec/tree/v1.1.2).
[](https://travis-ci.org/MakeNowJust/crustache)
<!-- [](http://www.docrystal.org/github.com/MakeNowJust/crustache) -->
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
crustache:
github: MakeNowJust/crustache
```
## Usage
```crystal
require "crustache"
# Parse a mustache template
template = Crustache.parse "Hello {{Name}} World!"
# Make a model
model = {"Name" => "Crustache"}
# Render!
puts Crustache.render template, model
#=> Hello Crustache World!
```
## Development
**NOTE:** Please run `git submodule update --init` before running spec.
This library's specs are put in `spec` directory.
They can run by `crystal spec` command.
## Contributing
1. [Fork it](https://github.com/MakeNowJust/crustache/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## License
MIT
© TSUYUSATO "[MakeNowJust](https://quine.codes)" Kitsune <<make.just.on@gmail.com>> 2015-2020
## Contributors
- [@MakeNowJust](https://github.com/MakeNowJust) TSUYUSATO Kitsune - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
2.4.4- Tagged
- Jun 8, 2021
- Commit
e98d75b40a7d- Crystal
1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/makenowjust/crustache
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 12, 2026
- Versions
- 24