Home / npm

npm Mirror in Iran

The npm registry anchors the JS ecosystem. Planned path: /npm.

About npm

Frontend and Node depend on npm install; a lockfile can pull hundreds of packages.

A local registry cache cuts install time.

npm mirror in Iran

Goal: a registry on Rasanegaar’s software repository for clients in Iran.

Not live yet; a sample .npmrc will appear after launch.

On Rasanegaar Mirror

StatusComing soon
Size
Last update
URLhttps://mirror.rasanegaar.com/npm/

This repository will be hosted on Rasanegaar Mirror soon. The target URL is reserved.

Browse repository (not live yet)

How to use the npm mirror in Iran

This section will be completed once the mirror is live.

Manual steps

  1. Set npm registry to the Rasanegaar Mirror URL.
  2. Try a test install.

Updating npm in Iran

When registry.npmjs.org is slow from Iran, installs via the local mirror matter in CI and on laptops.

Leave the lockfile alone; only the registry changes.

Related links