X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.MD;h=e77bc1cdf514678d63c24589287aaa969dd48bd7;hb=da1f2de4c9c3a375bbd50f1daf65d1b74afd0bf4;hp=283520afd69a5a4dfb7debad33c95a647be8a2f5;hpb=5f8c86d66490f8c6eb2e16ad55036b16aa959a63;p=poolifier.git diff --git a/README.MD b/README.MD index 283520af..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 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('node-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('node-pool') +const { FixedThreadPool, DynamicThreadPool } = require('poolifier') // a fixed thread pool const pool = new FixedThreadPool(15,