X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.MD;h=e77bc1cdf514678d63c24589287aaa969dd48bd7;hb=081a1f3ce04f7e9317d6000a7ddc0c999feb9fb8;hp=249d770277c49a8a5f7e64e2b36d16cff988dbc8;hpb=fd28144f14b527b492db5dcb1765987747ca4005;p=poolifier.git diff --git a/README.MD b/README.MD index 249d7702..e77bc1cd 100644 --- a/README.MD +++ b/README.MD @@ -33,7 +33,7 @@ You have to implement your worker extending the ThreadWorker class

Installation

``` -npm install @pioardi/node-thread-pool --save +npm install poolifier --save ```

Usage

@@ -41,7 +41,7 @@ You can implement a worker in a simple way , extending the class ThreadWorker : ```js 'use strict' -const { ThreadWorker } = require('@pioardi/node-thread-pool') +const { ThreadWorker } = require('poolifier') function yourFunction (data) { // this will be executed in the worker thread, @@ -61,7 +61,7 @@ Instantiate your pool based on your needed : ```js 'use strict' -const { FixedThreadPool, DynamicThreadPool } = require('@pioardi/node-thread-pool') +const { FixedThreadPool, DynamicThreadPool } = require('poolifier') // a fixed thread pool const pool = new FixedThreadPool(15,