reginabox

reginabox (Registry In A Box)是在本地网络上设置npm注册表镜像并让本地网络用户知道它的一种简单方法。【 reginabox (Registry In A Box) is an easy way to set up an npm registry mirror on your local network, and let local network users know about it.】

  • 所有者: yahoo/reginabox
  • 平台: Linux, Windows
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

reginabox

Build Status

reginabox (Registry In A Box) is an easy way to set up an npm registry mirror on your local network, and let local network users know about it.

Installation

$ npm i -g reginabox

Installation on Windows

Things are a little trickier on Windows. This project depends on node_mdns which in turn depends on Apple's "Bonjour SDK for Windows." You'll need an Apple Developer account to download the SDK, and the SDK should be installed before you attempt to install reginabox or node_mdns. See the node-mdns installation instructions for more details on installing node_mdns.

Usage

$ reginabox mirror [outputdir] will run registry-static and a corresponding web server to go along with it. If outputdir is provided, it will be used as the output directory, where it stores all the tarballs and metadata. Otherwise, $PWD/registry will be used. It will also make the server discoverable via zeroconf.

$ reginabox discover queries the local network for servers that are run using the command above. Once it finds a usable server, it outputs the command to set the registry, and then exits.

License

See LICENSE.txt

主要指標

概覽
名稱與所有者yahoo/reginabox
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台Linux, Windows
許可證MIT License
所有者活动
創建於2015-04-02 14:26:57
推送於2017-01-31 16:35:44
最后一次提交2017-01-31 08:32:41
發布數1
最新版本名稱v1.0.0 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數97
關注者數17
派生數4
提交數12
已啟用問題?
問題數3
打開的問題數0
拉請求數3
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?