const _prompt = require("prompt");
const print = text => console.log(text);
if(typeof alert === "undefined") {
var alert = text => print("alert : " + text);
}
const prompt = (text, callback) => {
_prompt.start();
_prompt.get([text], (err, result) => {
if(err){ return print(err) }
// callback(result[text]);
});
};