This commit is contained in:
Philipp Kunz
2016-05-20 19:06:25 +02:00
parent ed078ee29a
commit 4dab0f250a
9 changed files with 81 additions and 1 deletions

17
ts/index.ts Normal file
View File

@@ -0,0 +1,17 @@
/// <reference path="./typings/index.d.ts" />
let colors = require("colors");
let ora = require("ora");
let earlyOra;
export let start = function(moduleStringArg:string){
earlyOra = ora({
text:"Loading " + moduleStringArg.green,
spinner:"bouncingBar"
});
earlyOra.start();
};
export let stop = function(){
earlyOra.stop();
};