Standard npm registry
Implements the npm registry API. Set it as your registry and every install resolves through Kargadan.
A drop-in replacement for registry.npmjs.org — works for npm, pnpm, Bun, and every tool that respects .npmrc.
Implements the npm registry API. Set it as your registry and every install resolves through Kargadan.
Anything that reads .npmrc or accepts a registry URL works without modification.
Designed for build runners, container images, and ephemeral environments. Authentication is not required.
This is the canonical registry URL. Use it everywhere a package manager asks for one.
npm install lodash \
--registry https://mirror.kargadan.ir/repository/npm-group/
npm config set registry https://mirror.kargadan.ir/repository/npm-group/
# Verify
npm config get registry
Create .npmrc in your project root:
registry=https://mirror.kargadan.ir/repository/npm-group/
npm config set registry https://mirror.kargadan.ir/repository/npm-group/
npm install express mongoose dotenv
pnpm config set registry https://mirror.kargadan.ir/repository/npm-group/
pnpm install
# Bun reads .npmrc
echo "registry=https://mirror.kargadan.ir/repository/npm-group/" >> .npmrc
bun install
yarn config set registry https://mirror.kargadan.ir/repository/npm-group/
yarn add react react-dom
See the dedicated Yarn guide for the Berry-specific config keys.
Set the registry once, then use the standard create-* scaffolds:
npm config set registry https://mirror.kargadan.ir/repository/npm-group/
npx create-next-app@latest my-next-app
npx create-react-app my-react-app
npm create vue@latest my-vue-app
npx create-remix@latest my-remix-app
FROM node:22-alpine
WORKDIR /app
RUN npm config set registry https://mirror.kargadan.ir/repository/npm-group/
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
EXPOSE 3000
CMD ["node", "index.js"]
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://mirror.kargadan.ir/repository/npm-group/'
- run: npm ci
- run: npm test
build:
image: node:22
before_script:
- npm config set registry https://mirror.kargadan.ir/repository/npm-group/
script:
- npm ci
- npm run build
| Mirror type | Group Aggregated |
| Upstream sources | Chabokan, Pardisco, Jamko, Runflare, registry.npmjs.org |
| Protocols | HTTPS · HTTP |
| Authentication | Not required (anonymous) |
For npm, pnpm, or Yarn workspaces, set the registry once in the root .npmrc. Every workspace package will inherit it automatically.