Commit ded96b0b authored by Thomas Juster's avatar Thomas Juster 🛀
Browse files

chore: rename package because npm is grumpy

parent 6ff1e302
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@
# Installation

```bash
npm i -S promisepool
yarn add promisepool
npm i -S promisedip
yarn add promisedip
```

# API
@@ -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 })

@@ -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/',
+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",
@@ -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",