Skip to content

JustinMorgan/hubot-parsebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-parsebot

A Hubot script that evaluates JS or CoffeeScript from chat messages.

Installation

  • Add hubot-parsebot to your Hubot's package.json
  • Add hubot-parsebot to your Hubot's external-scripts.json
  • Run npm install

Hubot chat commands

hubot javascript me "foo" + " bar"              > "foo bar"
hubot js me (function() { return 1 + 2; })()    > 3
hubot coffeescript me 76 * 21                   > 1596
hubot coffee me (do () -> if on then 1 else 2)  > 1 

About

About

A Hubot script that evaluates inline JS or CoffeeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published