update ci and docs
This commit is contained in:
parent
83392d18f6
commit
c0a1e0a14f
@ -60,7 +60,7 @@ pages:
|
||||
stage: pages
|
||||
script:
|
||||
- npmci command yarn global add npmpage
|
||||
- npmci command npmpage --publish gitlab
|
||||
- npmci command npmpage
|
||||
tags:
|
||||
- docker
|
||||
only:
|
||||
|
15
README.md
15
README.md
@ -18,21 +18,6 @@ minimal and fast loading plugin for startup time measuring
|
||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||
[](http://standardjs.com/)
|
||||
|
||||
## Usage
|
||||
Use TypeScript for best in class instellisense.
|
||||
|
||||
```javascript
|
||||
// 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
|
||||
```
|
||||
|
||||
For further information read the linked docs at the top of this README.
|
||||
|
||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||
|
40
docs/index.md
Normal file
40
docs/index.md
Normal file
@ -0,0 +1,40 @@
|
||||
# early
|
||||
minimal and fast loading plugin for startup time measuring
|
||||
|
||||
## Availabililty
|
||||
[](https://www.npmjs.com/package/early)
|
||||
[](https://GitLab.com/pushrocks/early)
|
||||
[](https://github.com/pushrocks/early)
|
||||
[](https://pushrocks.gitlab.io/early/)
|
||||
|
||||
## Status for master
|
||||
[](https://GitLab.com/pushrocks/early/commits/master)
|
||||
[](https://GitLab.com/pushrocks/early/commits/master)
|
||||
[](https://www.npmjs.com/package/early)
|
||||
[](https://david-dm.org/pushrocks/early)
|
||||
[](https://www.bithound.io/github/pushrocks/early/master/dependencies/npm)
|
||||
[](https://www.bithound.io/github/pushrocks/early)
|
||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
||||
[](http://standardjs.com/)
|
||||
|
||||
## Usage
|
||||
Use TypeScript for best in class instellisense.
|
||||
|
||||
```javascript
|
||||
// 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
|
||||
```
|
||||
|
||||
For further information read the linked docs at the top of this README.
|
||||
|
||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||
|
||||
[](https://push.rocks)
|
Loading…
x
Reference in New Issue
Block a user