sinopia 是一个可以快速搭建本地npm镜像的服务,安装使用非常简单,最大的好处是可以很方便的管理私有模块
安装
# installation and starting (application will create default
# config in config.yaml you can edit later)
$ npm install -g sinopia
$ sinopia
# 设置npm镜像,当然也可以在具体操作的时候指定 ```npm adduser --registry http://localhost:4873```
$ npm set registry http://localhost:4873/
# if you use HTTPS, add an appropriate CA information
# ("null" means get CA list from OS)
$ npm set ca null
Comments(12)
法国和
fghfhf
热土覆盖
各回各家
和国家和国际供货价
反反复复
问问我
人人人人人人人
梯天
形成V型成v
aloha
分为各大