Loading README.md +4 −4 Original line number Diff line number Diff line Loading @@ -3,8 +3,8 @@ # Installation ```bash npm i -S promisepool yarn add promisepool npm i -S promisedip yarn add promisedip ``` # API Loading @@ -12,7 +12,7 @@ yarn add promisepool ## `new PromisePool({ ...options })` ```ts import PromisePool from 'promisepool' import PromisePool from 'promisedip' const pool = new PromisePool({ concurrency: 2 }) Loading @@ -34,7 +34,7 @@ async function doStuff (): Promise<void> { ## `PromisePool.map()` ```ts import PromisePool from 'promisepool' import PromisePool from 'promisedip' const pages = [ 'https://example.com/', Loading package.json +3 −2 Original line number Diff line number Diff line { "name": "promisepool", "name": "promisedip", "version": "1.0.0", "description": "Promise pooler to manage concurrency", "browser": "lib/PromisePool.umd.js", Loading @@ -19,7 +19,8 @@ "test": "jest", "build": "rollup -c && npm run emit-declarations", "emit-declarations": "tsc --declaration --declarationMap --outDir lib/ --project tsconfig.json --emitDeclarationOnly", "prepack": "npm run build" "prepublish": "npm run build", "publish": "NODE_ENV=production npm publish --access=public" }, "keywords": [ "promise", Loading Loading
README.md +4 −4 Original line number Diff line number Diff line Loading @@ -3,8 +3,8 @@ # Installation ```bash npm i -S promisepool yarn add promisepool npm i -S promisedip yarn add promisedip ``` # API Loading @@ -12,7 +12,7 @@ yarn add promisepool ## `new PromisePool({ ...options })` ```ts import PromisePool from 'promisepool' import PromisePool from 'promisedip' const pool = new PromisePool({ concurrency: 2 }) Loading @@ -34,7 +34,7 @@ async function doStuff (): Promise<void> { ## `PromisePool.map()` ```ts import PromisePool from 'promisepool' import PromisePool from 'promisedip' const pages = [ 'https://example.com/', Loading
package.json +3 −2 Original line number Diff line number Diff line { "name": "promisepool", "name": "promisedip", "version": "1.0.0", "description": "Promise pooler to manage concurrency", "browser": "lib/PromisePool.umd.js", Loading @@ -19,7 +19,8 @@ "test": "jest", "build": "rollup -c && npm run emit-declarations", "emit-declarations": "tsc --declaration --declarationMap --outDir lib/ --project tsconfig.json --emitDeclarationOnly", "prepack": "npm run build" "prepublish": "npm run build", "publish": "NODE_ENV=production npm publish --access=public" }, "keywords": [ "promise", Loading