summarylogtreecommitdiffstats
path: root/npmCache.md
diff options
context:
space:
mode:
authorPremysl Srubar2021-02-14 14:30:06 +0100
committerPremysl Srubar2021-02-14 14:30:06 +0100
commitc7b79c4cc0a9447a14365fb85a75bd7281596745 (patch)
treef8ad78fedb1c0561b235e58127559bec1cd29dae /npmCache.md
downloadaur-c7b79c4cc0a9447a14365fb85a75bd7281596745.tar.gz
Initial version
Diffstat (limited to 'npmCache.md')
-rw-r--r--npmCache.md12
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
+```