Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Latest commit

 

History

History
47 lines (28 loc) · 1.19 KB

README.md

File metadata and controls

47 lines (28 loc) · 1.19 KB

README

HTTP/HTTPS caching proxy for work with npm utility

⚠️ This project is no longer maintained. ⚠️

Installation

# Define installation folder

export INSTALL_DIRECTORY=/usr/bin

# Use local installation

sudo bin/installer install

# Use remote installation

curl --location "https://gitlab.com/timonier/npm-proxy-cache/raw/master/bin/installer" | sudo sh -s -- install

Note 1: If you do not define INSTALL_DIRECTORY, installer will use in /usr/local/bin.

Note 2: docker-for-mac users have to configure native NFS server.

Usage

Run the command npm-proxy-cache:

# See all npm-proxy-cache options

npm-proxy-cache --help

# Run npm-proxy-cache

npm-proxy-cache --port 8082 --verbose
# [2017-04-15 11:53:28.383] [INFO] proxy - Listening on localhost:8082 [9]
# ...

Links