Skip to content

Commit fa1c796

Browse files
committed
fix: update org name
1 parent 96e53a0 commit fa1c796

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

cli/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cli
33
import (
44
"fmt"
55

6-
npmproxy "github.com/emeralt/npm-cache-proxy/proxy"
6+
npmproxy "github.com/pkgems/npm-cache-proxy/proxy"
77
"github.com/spf13/cobra"
88
)
99

cli/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"os"
77

8-
npmproxy "github.com/emeralt/npm-cache-proxy/proxy"
8+
npmproxy "github.com/pkgems/npm-cache-proxy/proxy"
99
"github.com/go-redis/redis"
1010
)
1111

cli/purge.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cli
22

33
import (
4-
npmproxy "github.com/emeralt/npm-cache-proxy/proxy"
4+
npmproxy "github.com/pkgems/npm-cache-proxy/proxy"
55
"github.com/spf13/cobra"
66
)
77

cli/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"log"
55
"time"
66

7-
npmproxy "github.com/emeralt/npm-cache-proxy/proxy"
7+
npmproxy "github.com/pkgems/npm-cache-proxy/proxy"
88
"github.com/spf13/cobra"
99
)
1010

example/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net/http"
55
"time"
66

7-
npmproxy "github.com/emeralt/npm-cache-proxy/proxy"
7+
npmproxy "github.com/pkgems/npm-cache-proxy/proxy"
88
"github.com/go-redis/redis"
99
)
1010

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/emeralt/npm-cache-proxy
1+
module github.com/pkgems/npm-cache-proxy
22

33
go 1.12
44

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/emeralt/npm-cache-proxy/cli"
4+
"github.com/pkgems/npm-cache-proxy/cli"
55
)
66

77
func main() {

proxy/proxy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
22
// Package proxy implements a HTTP caching proxy for Node package registry (NPM).
3-
// See https://github.com/emeralt/npm-cache-proxy/ for more information about proxy.
3+
// See https://github.com/pkgems/npm-cache-proxy/ for more information about proxy.
44
//
55
package proxy
66

readme.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
<h1>npm-cache-proxy</h1>
55

6-
<a href="https://hub.docker.com/r/emeralt/npm-cache-proxy/tags">
7-
<img src="https://img.shields.io/github/release/emeralt/npm-cache-proxy.svg" alt="Current Release" />
6+
<a href="https://hub.docker.com/r/pkgems/npm-cache-proxy/tags">
7+
<img src="https://img.shields.io/github/release/pkgems/npm-cache-proxy.svg" alt="Current Release" />
88
</a>
9-
<a href="https://hub.docker.com/r/emeralt/npm-cache-proxy/builds">
10-
<img src="https://img.shields.io/docker/cloud/build/emeralt/npm-cache-proxy.svg" alt="CI Build">
9+
<a href="https://hub.docker.com/r/pkgems/npm-cache-proxy/builds">
10+
<img src="https://img.shields.io/docker/cloud/build/pkgems/npm-cache-proxy.svg" alt="CI Build">
1111
</a>
12-
<a href="https://github.com/emeralt/npm-cache-proxy/blob/master/license">
13-
<img src="https://img.shields.io/github/license/emeralt/npm-cache-proxy.svg" alt="Licence">
12+
<a href="https://github.com/pkgems/npm-cache-proxy/blob/master/license">
13+
<img src="https://img.shields.io/github/license/pkgems/npm-cache-proxy.svg" alt="Licence">
1414
</a>
1515
</div>
1616

@@ -23,7 +23,7 @@
2323
NCP is a tiny but very fast caching proxy written in Go. It uses Redis for data storage, which in combination with the speed of Go makes it incredibly fast. NCP is well-optimized and can be run on almost any platform, so if you have a Raspberry Pi, you can install NCP as your local cache there.
2424

2525
#### ✨ Modularity
26-
NCP is modular. Now it has only one database adapter which is Redis. If you need support for any other database, feel free to open an issue or implement it [on your own](https://github.com/emeralt/npm-cache-proxy/blob/7c8b90ff6ba0656f60e3de915b9fb4eaabfb467b/proxy/proxy.go#L29) and then open a pull request (_bonus points_).
26+
NCP is modular. Now it has only one database adapter which is Redis. If you need support for any other database, feel free to open an issue or implement it [on your own](https://github.com/pkgems/npm-cache-proxy/blob/7c8b90ff6ba0656f60e3de915b9fb4eaabfb467b/proxy/proxy.go#L29) and then open a pull request (_bonus points_).
2727

2828
#### 💡 Simplicity
2929
NCP is very simple. It just proxies requests to an upstream registry, caches response and returns cached response for next requests to the same package. Cached data are stored in Redis with an original request URL as a key.
@@ -33,14 +33,14 @@ NCP is very simple. It just proxies requests to an upstream registry, caches res
3333

3434

3535
## Installation
36-
NCP binaries for different paltforms can be downloaded can be downloaded on the [Releases](https://github.com/emeralt/npm-cache-proxy/releases) page. Also, Docker image is provided on [Docker Hub](https://cloud.docker.com/u/emeralt/repository/docker/emeralt/npm-cache-proxy).
36+
NCP binaries for different paltforms can be downloaded can be downloaded on the [Releases](https://github.com/pkgems/npm-cache-proxy/releases) page. Also, Docker image is provided on [Docker Hub](https://cloud.docker.com/u/pkgems/repository/docker/pkgems/npm-cache-proxy).
3737

3838
#### 💫 Quick Start
3939
The quickies way to get started with NCP is to use Docker.
4040

4141
```bash
4242
# run proxy inside of docker container in background
43-
docker run -e REDIS_ADDRESS=host.docker.internal:6379 -p 8080:8080 -it -d emeralt/npm-cache-proxy
43+
docker run -e REDIS_ADDRESS=host.docker.internal:6379 -p 8080:8080 -it -d pkgems/npm-cache-proxy
4444

4545
# configure npm to use caching proxy as registry
4646
npm config set registry http://localhost:8080
@@ -127,7 +127,7 @@ Number of Errors: 0
127127

128128

129129
## Programmatic Usage
130-
NCP provides `proxy` go package that can be used programmatically. Docs are available on [godoc.org](https://godoc.org/github.com/emeralt/npm-cache-proxy/proxy).
130+
NCP provides `proxy` go package that can be used programmatically. Docs are available on [godoc.org](https://godoc.org/github.com/pkgems/npm-cache-proxy/proxy).
131131

132132
#### 🤖 Example
133133
```golang
@@ -137,7 +137,7 @@ import (
137137
"net/http"
138138
"time"
139139

140-
npmproxy "github.com/emeralt/npm-cache-proxy/proxy"
140+
npmproxy "github.com/pkgems/npm-cache-proxy/proxy"
141141
"github.com/go-redis/redis"
142142
)
143143

0 commit comments

Comments
 (0)