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
20 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
Dependencies
This version declares no dependencies.
README
crustache
crustache is the implementation of mustache logic-less templates.
This library implemated mustache's spec v1.1.2+λ.
Installation
Add this to your application's shard.yml:
dependencies:
crustache:
github: MakeNowJust/crustache
Usage
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
License
MIT © TSUYUSATO "MakeNowJust" Kitsune <make.just.on@gmail.com> 2015-2020
Contributors
- @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
- sixteen
- chatgpt-cli
- happy-new-year-with-kdeconnect
- sabo-tabby
- crystal-examples
- psykube
- create-crystal-app
- kilt
- vox
- CrystalScript
- ticate
- broilerplate
and 8 more
Repository
github.com/MakeNowJust/crustache
Metadata
- Created
- Aug 15, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 24