Skip to content

brbcoding/hubot-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-javascript

Description

Packaged javascript-sandbox for NPM

Installation

npm install --save hubot-javascript

add ["hubot-javascript"] to your external-scripts.json.

Examples

hubot js [1,2,3].map(function (n) { return n * n; } ) -> [ 1, 4, 9 ]

hubot run String.fromCharCode(72, 85, 66, 79, 84) -> 'HUBOT'

hubot sandbox 0.1 + 0.2 -> 0.30000000000000004

Releases

No releases published

Packages

No packages published