{"api_version":1,"mirror":{"id":"npm","name":"npm","category":"language","ecosystem":"npm","upstream":"registry.npmjs.org","urls":["https://mirror-npm.pkg.shecan.ir/"],"clients":["npm","pnpm","yarn"],"keywords":["node","nodejs","javascript","typescript","pnpm","yarn","npmjs"],"description":"Mirror of the npm registry (registry.npmjs.org) for npm, pnpm and Yarn.","limitations":["Read-only: npm publish, login and npm audit are not supported; pass --no-audit to avoid audit warnings.","An existing package-lock.json may still contain resolved URLs that point at registry.npmjs.org."],"status_key":"npm","audit":[{"group":"npm","mirror":"shecan","url":"https://audit.shecan.ir/#npm"}],"links":{"guide":"https://pkg.shecan.ir/mirrors/npm/","markdown":"https://pkg.shecan.ir/mirrors/npm.md","json":"https://pkg.shecan.ir/api/v1/mirrors/npm.json"},"title_fa":"npm، pnpm و Yarn","summary_fa":"رجیستری بسته‌های جاوااسکریپت و Node.js؛ مخزن پیش‌فرض npm، pnpm و Yarn.","notes_fa":["انتشار بسته (`npm publish`)، ورود به حساب و `npm audit` پشتیبانی نمی‌شود. برای جلوگیری از هشدار audit از `--no-audit` استفاده کنید.","اگر پروژه از قبل `package-lock.json` دارد، نشانی‌های resolved داخل آن ممکن است هنوز به registry.npmjs.org اشاره کنند."],"endpoints":[{"label_fa":"رجیستری npm","url":"https://mirror-npm.pkg.shecan.ir/"}],"steps":[{"clients":["npm"],"scope":"temporary","role":"command","platforms":["linux","macos","windows"],"lang":"sh","code":"npm install --no-audit --registry=https://mirror-npm.pkg.shecan.ir/ is-number","verification":"automated","label_fa":"نصب یک بسته بدون تغییر تنظیمات","section_fa":"استفادهٔ موقت، فقط برای یک دستور"},{"clients":["npm"],"scope":"temporary","role":"verify","platforms":["linux","macos","windows"],"lang":"sh","code":"npm view is-number version --registry=https://mirror-npm.pkg.shecan.ir/","verification":"automated","label_fa":"بررسی سریع اتصال","section_fa":"استفادهٔ موقت، فقط برای یک دستور"},{"clients":["npm"],"scope":"persistent","role":"command","platforms":["linux","macos","windows"],"lang":"sh","code":"npm config set registry https://mirror-npm.pkg.shecan.ir/","verification":"automated","label_fa":"تنظیم رجیستری برای کاربر فعلی","section_fa":"تنظیم دائمی npm"},{"clients":["npm","pnpm"],"scope":"project","role":"config","platforms":["linux","macos","windows"],"file":".npmrc","lang":"ini","code":"registry=https://mirror-npm.pkg.shecan.ir/","verification":"automated","label_fa":"فقط برای یک پروژه — این خط را در فایل `.npmrc` کنار `package.json` بگذارید","section_fa":"تنظیم دائمی npm"},{"clients":["npm"],"scope":"persistent","role":"reset","platforms":["linux","macos","windows"],"lang":"sh","code":"npm config delete registry","verification":"automated","label_fa":"بازگرداندن تنظیم پیش‌فرض","section_fa":"تنظیم دائمی npm"},{"clients":["pnpm"],"scope":"persistent","role":"command","platforms":["linux","macos","windows"],"lang":"sh","code":"pnpm config set registry https://mirror-npm.pkg.shecan.ir/","verification":"automated","label_fa":"تنظیم دائمی برای pnpm","section_fa":"pnpm"},{"clients":["pnpm"],"scope":"temporary","role":"command","platforms":["linux","macos","windows"],"lang":"sh","code":"pnpm add is-number --registry=https://mirror-npm.pkg.shecan.ir/","verification":"automated","label_fa":"استفادهٔ موقت با pnpm","section_fa":"pnpm"},{"clients":["yarn"],"scope":"persistent","role":"command","platforms":["linux","macos","windows"],"variant":"Yarn 1 (Classic)","lang":"sh","code":"yarn config set registry https://mirror-npm.pkg.shecan.ir/","verification":"automated","label_fa":"Yarn نسخهٔ ۱ (Classic)","section_fa":"Yarn"},{"clients":["yarn"],"scope":"project","role":"command","platforms":["linux","macos","windows"],"variant":"Yarn 2+ (Berry), run inside the project directory","lang":"sh","code":"yarn config set npmRegistryServer https://mirror-npm.pkg.shecan.ir/","verification":"automated","label_fa":"Yarn نسخهٔ ۲ به بعد (Berry) — داخل پوشهٔ پروژه اجرا کنید","section_fa":"Yarn"}]}}