hubot-render

1.2.4 • Public • Published

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.

/hubot-render/

    Package Sidebar

    Install

    npm i hubot-render

    Weekly Downloads

    1

    Version

    1.2.4

    License

    MIT

    Last publish

    Collaborators

    • ikuo