From: Alessandro Pio Ardizio Date: Wed, 22 Jan 2020 22:35:25 +0000 (+0100) Subject: Update README.MD X-Git-Tag: v0.0.2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fd28144f14b527b492db5dcb1765987747ca4005;p=poolifier.git Update README.MD --- diff --git a/README.MD b/README.MD index 283520af..249d7702 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 @pioardi/node-thread-pool --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('@pioardi/node-thread-pool') 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('@pioardi/node-thread-pool') // a fixed thread pool const pool = new FixedThreadPool(15,