1.2.4 • Published 9 years ago

hubot-render v1.2.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

hubot-render

npm version Build Status

A hubot script to render mustache templates.

See src/render.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-remember-multiline --save
npm install hubot-render --save

Then add hubot-render to your external-scripts.json:

[
  "hubot-remember-multiline",
  "hubot-render"
]

Sample Interaction

user1>> hubot remember tmpl1 is
{{title}} spends {{calc}}
user1>> hubot render tmpl1 title:Joe, calc:6
hubot>> Joe spends 6

See ./test/*.coffee for more examples.

1.2.4

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago