The online ide to execute and test your code ,helpful for coding competitions.
npm install code-runnerjavascript
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 :
1. timeout : time in ms, specifies the time after which the program must be
terminated.
2. language` : the name of the language of the given code.