- Notifications
You must be signed in to change notification settings - Fork34
Haskell implementation of mustache templates
License
JustusAdam/mustache
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Haskell implementation ofmustache templates.
Implements the officialspecs version 1.1.3
The old Haskell implementation of mustache templateshastache seemed pretty abandoned to me. This implementation aims to be much easier to use and (fingers crossed) better maintained.
Since it is so easy to use and requires but a few files of code, I've also written a small executable that compiles and renders mustache templates with data input from json or yaml files.
Please refer to thedocumentation on hackage.
$ haskell-mustache --helpSimple mustache template substitutionarguments [OPTIONS] TEMPLATE [DATA-FILES]Common flags: -t --templatedirs[=DIRECTORY] The directory in which to search for the templates -? --help Display help message -V --version Print version informationCurrent implementation substitutes theTEMPLATE once with eachDATA-FILE
$ haskell-mustache my-template-file data-file-1.json data-file-2.json data-file-3.json- String parser for mustache templates
- Template substitution
- Standalone executable
- Support for 'set delimiter'
- More efficiency using
Textrather thanString - More efficient Text parsing
- Test coverage provided via the officialspecs
- Haddock documentation
- More instances for
ToMustachetypeclass
About
Haskell implementation of mustache templates
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.