Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
1892bd6df1 | |||
20bdf70686 | |||
7787330d63 | |||
67c3efdd59 | |||
7655ba749a | |||
0a089b6f10 |
@ -1,5 +1,5 @@
|
|||||||
# early
|
# early
|
||||||
minimal and fast loading plugins for startup time measuring
|
minimal and fast loading plugin for startup time measuring
|
||||||
|
|
||||||
## Availabililty
|
## Availabililty
|
||||||
[](https://www.npmjs.com/package/early)
|
[](https://www.npmjs.com/package/early)
|
||||||
@ -30,3 +30,5 @@ early.stop().then((loadingTime:number) => { // loadingTime in milliseconds
|
|||||||
|
|
||||||
}); // stop "early" when your module is ready
|
}); // stop "early" when your module is ready
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[](https://push.rocks)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "early",
|
"name": "early",
|
||||||
"version": "2.0.32",
|
"version": "2.0.35",
|
||||||
"description": "nice module loading animation for modules that need a little starting time.",
|
"description": "minimal and fast loading plugin for startup time measuring",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
import 'typings-global'
|
import 'typings-global'
|
||||||
import path = require('path')
|
|
||||||
import chalk = require('chalk')
|
import chalk = require('chalk')
|
||||||
import q = require('q')
|
import q = require('q')
|
||||||
|
|
||||||
|
|
||||||
let doText: boolean = false
|
let doText: boolean = false
|
||||||
let moduleName: string = 'undefined module name'
|
let moduleName: string = 'undefined module name'
|
||||||
let startTime = Date.now()
|
let startTime = Date.now()
|
||||||
|
Reference in New Issue
Block a user