summarylogtreecommitdiffstats
path: root/npmCache.md
blob: 3eb4a740e1b02b8555c9e8d13b72268a9fc066a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
```