Node.js Mirror (npm registry, Yarn, JavaScript) in Iran
Node.js mirror (npm registry, Yarn, JavaScript) — For JavaScript package installs in Iran, Rasanegaar Mirror keeps the npm registry close to your projects and CI.
About npm
The npm registry anchors the JavaScript ecosystem — frontend and Node depend on npm install, and a lockfile can pull hundreds of packages.
A local registry cache cuts install time; every package download moves real traffic.
npm mirror in Iran
The npm mirror in Iran at mirror.rasanegaar.com/npm plays that local registry role so clients pull from Rasanegaar’s software repository.
See also the landing page at /repos/npm/.
On Rasanegaar Mirror
https://mirror.rasanegaar.com/npm/Manual steps
- Set npm registry to the Rasanegaar mirror:
.npmrcregistry=https://mirror.rasanegaar.com/npm/ - Try a test install:
npm install
Updating npm in Iran
npm package installs in Iran via the local mirror matter in CI and on laptops — when registry.npmjs.org is slow.
After switching, leave the lockfile alone; only the registry changes.