diff options
author | Premysl Srubar | 2021-02-14 14:30:06 +0100 |
---|---|---|
committer | Premysl Srubar | 2021-02-14 14:30:06 +0100 |
commit | c7b79c4cc0a9447a14365fb85a75bd7281596745 (patch) | |
tree | f8ad78fedb1c0561b235e58127559bec1cd29dae /npmCache.md | |
download | aur-c7b79c4cc0a9447a14365fb85a75bd7281596745.tar.gz |
Initial version
Diffstat (limited to 'npmCache.md')
-rw-r--r-- | npmCache.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/npmCache.md b/npmCache.md new file mode 100644 index 000000000000..3eb4a740e1b0 --- /dev/null +++ b/npmCache.md @@ -0,0 +1,12 @@ + +https://github.com/runk/npm-proxy-cache + + ``` + docker run -it -p 8880:8080 npm-proxy-cache --ttl $[24*60*60] --host 0.0.0.0 --expired +``` + +``` + npm config set proxy http://localhost:8880/ + npm config set https-proxy http://localhost:8880/ + npm config set strict-ssl false +``` |