The shakespeare-js package

[Tags:deprecated, library, mit]
Deprecated. in favor of shakespeare

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.

There is also shakespeare-coffeescript for coffeescript templates. Coffescript is a language that compiles down to javascript. It expects a coffeescript compiler in your path, and variable should be a ToCoffee instance.

Please see http://docs.yesodweb.com/book/templates for a more thorough description and examples

shakespeare-js was originally called julius, and shakespeare originated from the hamlet template package.

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, 1.1.4.1, 1.2.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.0.4, 1.3.0
Dependencies base (==4.*), shakespeare (>=0.10.3 && <0.11), template-haskell, text (>=0.7 && <0.12) [details]
License BSD3
Author Michael Snoyman <michael@snoyman.com>
Maintainer Michael Snoyman <michael@snoyman.com>
Category Web, Yesod
Home page http://www.yesodweb.com/book/templates
Source repository head: git clone git://github.com/yesodweb/hamlet.git
Uploaded Wed Feb 8 08:15:03 UTC 2012 by MichaelSnoyman
Distributions Debian:1.2.0.4, NixOS:1.3.0
Downloads 30809 total (51 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-25 [all 7 reports]
Hackage Matrix CI

Modules

  • Text
    • Text.Coffee
    • Text.Julius

Flags

NameDescriptionDefaultType
test_exportDisabledAutomatic
test_coffee

render tests through coffeescript render function

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees