Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

npm-proxy-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-proxy-cli

可以方便的通过命令行开启/关闭 npm http/https 代理,不支持 socks5。 ## 使用 安装 ```shell npm i -g npm-proxy-cli ``` 设置代理地址 ```shell nrp registry [url] # nrp registry http://127.0.0.1:58591 ``` 开启代理 ```shell nrp open ``` 关闭代理 ```shell nrp close ```

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

npm-proxy-cli

可以方便的通过命令行开启/关闭 npm http/https 代理,不支持 socks5。

使用

安装

npm i -g npm-proxy-cli

设置代理地址

nrp registry [url]
# nrp registry http://127.0.0.1:58591

开启代理

nrp open

关闭代理

nrp close

FAQs

Package last updated on 08 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts