The shakespeare-js package
Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation . Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToJavascript instance.
shakespeare-javascript is alson known as Julius, and passes through plain javascript
There is also a shakespeare version for CoffeeScript, TypeScript, and Roy, all languages that compile down to Javascript. They all expect you to have the appropriate compiler in your path.
shakespeare originated from the hamlet template package. Please see http:www.yesodweb.combookshakespearean-templates for a more thorough description and examples
Properties
| Versions | 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.11.0, 0.11.0.1, 0.11.1, 0.11.2, 1.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3, 1.0.0.4, 1.0.0.5, 1.0.0.6, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.2.1, 1.1.3, 1.1.4 |
|---|---|
| Dependencies | aeson (≥0.5), base (4.*), shakespeare (≥1.0.3 & <1.1), template-haskell, text (≥0.7) |
| License | MIT |
| Author | Michael Snoyman <michael@snoyman.com> |
| Maintainer | Michael Snoyman <michael@snoyman.com> |
| Stability | Stable |
| Category | Web, Yesod |
| Home page | http://www.yesodweb.com/book/shakespearean-templates |
| Source repository | git clone git://github.com/yesodweb/shakespeare.git |
| Upload date | Sat Mar 2 19:54:58 UTC 2013 |
| Uploaded by | MichaelSnoyman |
| Built on | ghc-7.6 |
| Distributions | NixOS: 1.1.4, Debian: 1.1.0, FreeBSD: 1.1.2.1 |
Modules
Downloads
- shakespeare-js-1.1.2.1.tar.gz (Cabal source package)
- package description (included in the package)