https://github.com/bep/npmgoproxy
This highly experimental and very much work in progress.
https://github.com/bep/npmgoproxy
Last synced: about 1 year ago
JSON representation
This highly experimental and very much work in progress.
- Host: GitHub
- URL: https://github.com/bep/npmgoproxy
- Owner: bep
- License: mit
- Created: 2021-09-08T09:44:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T19:01:35.000Z (about 3 years ago)
- Last Synced: 2025-02-13T14:41:07.561Z (about 1 year ago)
- Language: Go
- Size: 14.9 MB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This highly experimental and very much work in progress.
But as a concept, it actually works:
If you first start the proxy server with `go run main.go` you can do this from a Hugo project:
```
GOPROXY=http://localhost:8072 hugo mod get gohugo.io/npmjs/simple-icons/v5
```
The above will fetch the last version in the `v5` series from `npmjs.org`, verify the `shasum` and package it as a Go Module. There are still some missing pieces. For one, it does not follow dependencies.