early/README.md
2016-09-19 20:50:01 +02:00

1.8 KiB

early

minimal and fast loading plugin for startup time measuring

Availabililty

npm git git docs

Status for master

build status coverage report Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

// Put the following at the start of your module
import * as early from "early";
early.start("myModuleName");
/*
do your loading stuff
*/
early.stop().then((loadingTime:number) => { // loadingTime in milliseconds

}); // stop "early" when your module is ready

npm