From fd28144f14b527b492db5dcb1765987747ca4005 Mon Sep 17 00:00:00 2001 From: Alessandro Pio Ardizio Date: Wed, 22 Jan 2020 23:35:25 +0100 Subject: [PATCH] Update README.MD --- README.MD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.34.1