前端修饰与渲染处理
This commit is contained in:
19
test-npm-registry.bat
Normal file
19
test-npm-registry.bat
Normal file
@@ -0,0 +1,19 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
echo ========================================
|
||||
echo Testing npm Registry Connection
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
echo Testing registry.npmmirror.com...
|
||||
npm config get registry
|
||||
echo.
|
||||
|
||||
echo Testing connection speed...
|
||||
time <NUL
|
||||
npm ping --registry=https://registry.npmmirror.com
|
||||
echo.
|
||||
|
||||
echo ========================================
|
||||
echo If the ping succeeds, your npm mirror is working!
|
||||
echo ========================================
|
||||
Reference in New Issue
Block a user