crustache
Version, currently 1.0.124 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
Nothing has been indexed for 1.0.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
crustache:
github: MakeNowJust/crustache
version: ~> 1.0.1Then run:
shards installshard.yml
No shard.yml has been indexed for 1.0.1. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
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
1.0.1- Tagged
- Mar 13, 2024
- Commit
f851b07f86a4- Indexed
- not yet
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