File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,17 @@ Enables the creation of child processes (workers) that run simultaneously and sh
5
5
## Installation
6
6
7
7
``` shell
8
- $ yarn add node-clusterize
8
+ $ yarn add @doris.mobi/ node-clusterize
9
9
```
10
10
11
11
## Usage
12
12
13
- ...WIP
13
+ ``` typescript
14
+ import { ClusterService } from ' @doris.mobi/node-clusterize'
15
+
16
+ const application = () => {
17
+ // your node application logic
18
+ }
19
+
20
+ ClusterService .clusterize (application )
21
+ ```
Original file line number Diff line number Diff line change 50
50
},
51
51
"files" : [
52
52
" dist"
53
- ]
53
+ ],
54
+ "dependencies" : {
55
+ "@doris.mobi/node-clusterize" : " ^1.1.25"
56
+ }
54
57
}
Original file line number Diff line number Diff line change 466
466
dependencies :
467
467
" @cspotcode/source-map-consumer" " 0.8.0"
468
468
469
+ " @doris.mobi/node-clusterize@^1.1.25 " :
470
+ version "1.1.25"
471
+ resolved "https://registry.yarnpkg.com/@doris.mobi/node-clusterize/-/node-clusterize-1.1.25.tgz#26b2ffe478d00d93e3973679732063c4cb865bfe"
472
+ integrity sha512-x/l3kzvXrQrFcbHm87dCSDas2weAysNl0YMhYhgJnNv5Ark5eRm0sO47N68q2cpZsON8fyCX9Rn+vV8Mj3K0SQ==
473
+
469
474
" @eslint/eslintrc@^1.2.1 " :
470
475
version "1.2.1"
471
476
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.2.1.tgz#8b5e1c49f4077235516bc9ec7d41378c0f69b8c6"
You can’t perform that action at this time.
0 commit comments