All Projects → MakeNowJust → crustache

MakeNowJust / crustache

Licence: MIT license
{{Mustache}} for Crystal 💎

Programming Languages

crystal
512 projects

Projects that are alternatives of or similar to crustache

Charts
Stars: ✭ 206 (+171.05%)
Mutual labels:  mustache
abap mustache
Mustache template engine for ABAP
Stars: ✭ 14 (-81.58%)
Mutual labels:  mustache
mustache-cli
Command line interface to mustache template engine in Go.
Stars: ✭ 40 (-47.37%)
Mutual labels:  mustache
Chevron
A Python implementation of mustache
Stars: ✭ 223 (+193.42%)
Mutual labels:  mustache
VueXcode
Syntax highlighting for .Vue components and .mustache templates in Xcode
Stars: ✭ 25 (-67.11%)
Mutual labels:  mustache
php-mustache
Mustache PHP Extension
Stars: ✭ 55 (-27.63%)
Mutual labels:  mustache
Milk
Milk is Mustache in CoffeeScript -- great with your browser or NodeJS!
Stars: ✭ 192 (+152.63%)
Mutual labels:  mustache
morestachio
Lightweight, powerful, flavorful, template engine.
Stars: ✭ 45 (-40.79%)
Mutual labels:  mustache
dssg
A static site generator with a different approach
Stars: ✭ 15 (-80.26%)
Mutual labels:  mustache
gogoAST
The simplest tool to parse/transform/generate code on ast
Stars: ✭ 29 (-61.84%)
Mutual labels:  mustache
Stubble
Trimmed down {{mustache}} templates in .NET
Stars: ✭ 247 (+225%)
Mutual labels:  mustache
Statik
Multi-purpose static web site generator aimed at developers.
Stars: ✭ 249 (+227.63%)
Mutual labels:  mustache
ocaml-mustache
mustache.js logic-less templates in OCaml
Stars: ✭ 74 (-2.63%)
Mutual labels:  mustache
Hydro Serving
MLOps Platform
Stars: ✭ 213 (+180.26%)
Mutual labels:  mustache
HandlebarsCookbook
A cookbook of handlebars and mustache, focus on handlebars.js , mustache.js and lightncandy usage
Stars: ✭ 20 (-73.68%)
Mutual labels:  mustache
Gluebert
gluebert.js is a tiny helper lazy loading DOM Elements, StyleSheets and JavaScript files using dynamic import and code splitting
Stars: ✭ 194 (+155.26%)
Mutual labels:  mustache
hesperides
Configuration management tool providing universal text file templating and properties editing through a REST API or a webapp (backend part)
Stars: ✭ 35 (-53.95%)
Mutual labels:  mustache
hyperstache
👨‍🦰 Handlebars just got a trim, alternative JS template engine, 2kb gzip
Stars: ✭ 36 (-52.63%)
Mutual labels:  mustache
Mustache
A simple Mustache parser/evaluator for Swift
Stars: ✭ 23 (-69.74%)
Mutual labels:  mustache
samples
A collection of sample dashboards, custom labels, mustaches, SQL scripts and PowerShell scripts to help you get the most out of SquaredUp. #community-powered
Stars: ✭ 17 (-77.63%)
Mutual labels:  mustache

crustache

crustache is the implementation of mustache logic-less templates.

This library implemated mustache's spec v1.1.2+λ.

travis-ci.org

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

  1. Fork it
  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" Kitsune <[email protected]> 2015-2020

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].