code-runner
v1.0.7
Published
The online ide to execute and test your code ,helpful for coding competitions.
Downloads
20
Readme
Code-runner
Its an online programming ide for the compilation of simple programs, Mostly used in competitive programming servers to run the code according to certain set of rules.
usage
var runner = require('code-runner');
runner(code,options,function(){
//callback function
...
});
code
is the code to be executed.options
is an object which should contain the following properties :timeout
: time in ms, specifies the time after which the program must be terminated.language
: the name of the language of the given code.