{
  "_id": "npm-i-progress",
  "maintainers": [
    {
      "name": "suhailroushan",
      "email": "suhailroushan13@gmail.com"
    }
  ],
  "keywords": [
    "npm",
    "install",
    "progress",
    "cli",
    "bar",
    "download"
  ],
  "dist-tags": {
    "latest": "1.0.2"
  },
  "author": {
    "name": "Mohammed Suhail Roushan Ali",
    "url": "https://github.com/Suhailroushan"
  },
  "_rev": "3-06fab618a67fe61ea66fc5bef31f5ce3",
  "description": "Run npm install with a real progress bar based on live fetch/extract events.",
  "readme": "# npm-i-progress\n\nRun `npm install` with a **live progress bar** based on real fetch/extract events from npm’s `--verbose` output.  \nNo fake timers — the total grows as sub-dependencies are discovered.\n\n---\n\n## ✨ Features\n- Real-time progress while `npm install` runs  \n- Single, continuous bar (no flicker on warnings)  \n- Pass-through flags (`--legacy-peer-deps`, package names, etc.)  \n- Works anywhere in your projects\n\n---\n\n## 🚀 Install\n\n**Global (recommended):**\n```bash\nnpm i -g npm-i-progress\n```\n\n**One-off:**\n```bash\nnpx npm-i-progress\n```\n\n---\n\n## 🧭 Usage\n\nInside any Node project directory:\n```bash\nnpm-i-progress\n```\n\nOr use the short alias:\n```bash\nnpi\n```\n\nPass through any args you’d normally give `npm install`:\n```bash\nnpm-i-progress --legacy-peer-deps\nnpm-i-progress react react-dom\n```\n\n---\n\n## 🧰 How it works\nThis CLI spawns:\n```bash\nnpm install --verbose\n```\nand parses lines that indicate **fetch/resolve** (to grow the total) and **extract/install** (to increment completed).  \nThe bar updates continuously without resetting on warnings.\n\n> **Note:** npm doesn’t expose an official progress API.  \n> This uses heuristic parsing and may vary slightly by npm version.  \n> If your logs look different, please open an issue with a snippet.\n\n---\n\n## 📦 Requirements\n- Node.js **16+**\n\n---\n\n## 🤔 FAQ\n\n**Does it replace `npm install`?**  \nNo. It wraps `npm install` and shows progress; it passes through args and exit codes.\n\n**Can I use it in CI?**  \nYes, but progress bars aren’t very useful in plain logs.  \n(A future update may auto-disable when `CI=true`.)\n\n**Why does total package count grow while running?**  \nnpm discovers sub-dependencies as it resolves the tree, so the total increases dynamically — that’s expected and more accurate than a fixed guess.\n\n---\n\n## 🧹 Uninstall\n```bash\nnpm un -g npm-i-progress\n```\n\n---\n\n## 🐞 Troubleshooting\n- **Bar doesn’t move for a while**: Some registries are slow; it should advance when extraction starts.  \n- **Weird npm output**: Please paste a few lines of `--verbose` output in an issue; we’ll expand our matchers.  \n- **Windows PowerShell**: If execution policy blocks global bins, run your terminal as Administrator or adjust policy.\n\n---\n\n## 📝 License\nMIT © 2025 [Mohammed Suhail Roushan Ali](https://github.com/Suhailroushan)\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Suhailroushan/npm-i-progress.git"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Suhailroushan/npm-i-progress/issues"
  },
  "versions": {
    "1.0.0": {
      "name": "npm-i-progress",
      "version": "1.0.0",
      "keywords": [
        "npm",
        "install",
        "progress",
        "cli",
        "bar",
        "download"
      ],
      "author": {
        "name": "Suhail"
      },
      "license": "MIT",
      "_id": "npm-i-progress@1.0.0",
      "maintainers": [
        {
          "name": "suhailroushan",
          "email": "suhailroushan13@gmail.com"
        }
      ],
      "bin": {
        "npi": "bin/npm-i-progress.mjs",
        "npm-i-progress": "bin/npm-i-progress.mjs"
      },
      "dist": {
        "shasum": "0cfeadaa50a8ec81d01ef82a088184cc31e5be5e",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/npm-i-progress/-/npm-i-progress-1.0.0.tgz",
        "fileCount": 3,
        "integrity": "sha512-zR01FhWeX4VPHuqgW4AsBb2prnqaHsDTbsM2VzeiCFCAKS+IG8dW/Ug44rRwUGXnvaJof/WhjI2VDLO8XcK3Cw==",
        "signatures": [
          {
            "sig": "MEYCIQCTN59D4cEhnJaZRedzEblHBFpcFgRQMqaDOwoUGxCsxwIhAP4KUlEliD4kWybY9jEkafaoLtEe0swTKjmYRtEHhe0O",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 5832
      },
      "type": "module",
      "engines": {
        "node": ">=16.0.0"
      },
      "scripts": {
        "test": "node -e \"console.log('no tests yet')\"",
        "start": "node bin/npm-i-progress.mjs"
      },
      "_npmUser": {
        "name": "suhailroushan",
        "email": "suhailroushan13@gmail.com"
      },
      "_npmVersion": "10.8.2",
      "description": "Run npm install with a real progress bar based on live fetch/extract events.",
      "directories": {},
      "_nodeVersion": "20.19.4",
      "dependencies": {
        "cli-progress": "^3.12.0"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/npm-i-progress_1.0.0_1755066902661_0.6963028300019702",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.0.1": {
      "name": "npm-i-progress",
      "version": "1.0.1",
      "keywords": [
        "npm",
        "install",
        "progress",
        "cli",
        "bar",
        "download"
      ],
      "author": {
        "name": "Suhail"
      },
      "license": "MIT",
      "_id": "npm-i-progress@1.0.1",
      "maintainers": [
        {
          "name": "suhailroushan",
          "email": "suhailroushan13@gmail.com"
        }
      ],
      "bin": {
        "npi": "bin/npm-i-progress.mjs",
        "npm-i-progress": "bin/npm-i-progress.mjs"
      },
      "dist": {
        "shasum": "410f3f58c138394e3c19a3b802d4c84599c14a23",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/npm-i-progress/-/npm-i-progress-1.0.1.tgz",
        "fileCount": 3,
        "integrity": "sha512-IZm5vVjsSXufv6XO9L9L1y/3KWWZ/IaS6R8vzxrQnpPiTsebCeyPQZGuy/AjCNiNEA8fvhvRcKUku0oYI0MXHg==",
        "signatures": [
          {
            "sig": "MEUCIB7kKynzdUfxQaLAuVihHVEPXC+n2IFhWsCBu/VCZeT3AiEA2ZePMxbtFauQH1n9Ixkto4uKbZwxYAji4qRgtBVwDAA=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 5832
      },
      "type": "module",
      "engines": {
        "node": ">=16.0.0"
      },
      "scripts": {
        "test": "node -e \"console.log('no tests yet')\"",
        "start": "node bin/npm-i-progress.mjs"
      },
      "_npmUser": {
        "name": "suhailroushan",
        "email": "suhailroushan13@gmail.com"
      },
      "_npmVersion": "10.8.2",
      "description": "Run npm install with a real progress bar based on live fetch/extract events.",
      "directories": {},
      "_nodeVersion": "20.19.4",
      "dependencies": {
        "cli-progress": "^3.12.0"
      },
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/npm-i-progress_1.0.1_1755067012848_0.026540655883448228",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.0.2": {
      "name": "npm-i-progress",
      "version": "1.0.2",
      "description": "Run npm install with a real progress bar based on live fetch/extract events.",
      "type": "module",
      "bin": {
        "npm-i-progress": "bin/npm-i-progress.mjs",
        "npi": "bin/npm-i-progress.mjs"
      },
      "scripts": {
        "start": "node bin/npm-i-progress.mjs"
      },
      "keywords": [
        "npm",
        "install",
        "progress",
        "cli",
        "bar",
        "download"
      ],
      "author": {
        "name": "Mohammed Suhail Roushan Ali",
        "url": "https://github.com/Suhailroushan"
      },
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/Suhailroushan/npm-i-progress.git"
      },
      "bugs": {
        "url": "https://github.com/Suhailroushan/npm-i-progress/issues"
      },
      "homepage": "https://github.com/Suhailroushan/npm-i-progress#readme",
      "dependencies": {
        "cli-progress": "^3.12.0"
      },
      "engines": {
        "node": ">=16.0.0"
      },
      "_id": "npm-i-progress@1.0.2",
      "gitHead": "d931c12d5bc88c763a7a0024802a5fb05e998c2d",
      "_nodeVersion": "20.19.4",
      "_npmVersion": "10.8.2",
      "dist": {
        "integrity": "sha512-vwU4O/mohHE3mySF5tYoF5svYDYntKraxJzDeDc4NfrY0KphSFEo0g2QqqRwKRMRUcGhuq1ObXROtp9Z1D2g4w==",
        "shasum": "9f958740fb98c7fc72904ab1971db5d4e8ec396b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/npm-i-progress/-/npm-i-progress-1.0.2.tgz",
        "fileCount": 3,
        "unpackedSize": 6114,
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEYCIQC/73F431DIRVwqspbomtcORCEzwsaJxZMUoVdr4XP4hAIhANs7TmH/LhWVm3VTKptSk1LruRTZmmo8PcmO291auGhZ"
          }
        ]
      },
      "_npmUser": {
        "name": "suhailroushan",
        "email": "suhailroushan13@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "suhailroushan",
          "email": "suhailroushan13@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/npm-i-progress_1.0.2_1755067277004_0.9213843356498714"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "npm-i-progress",
  "time": {
    "created": "2025-08-13T06:35:02.280Z",
    "modified": "2026-05-23T04:10:24.063Z",
    "1.0.0": "2025-08-13T06:35:02.858Z",
    "1.0.1": "2025-08-13T06:36:53.047Z",
    "1.0.2": "2025-08-13T06:41:17.197Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/Suhailroushan/npm-i-progress#readme"
}