18 lines
496 B
Markdown
18 lines
496 B
Markdown
# Download NPM packages
|
|
|
|
Download npm packages from gitea registry to create an additional backup of packages published on Gitea registry
|
|
|
|
### Requirements
|
|
|
|
- Node.js version supporting WebCrypto & Fetch API ( They are browser compatible and doesn't require additional deps )
|
|
|
|
- Gitea token that has read permissions ( See https://docs.gitea.com/development/api-usage )
|
|
|
|
### How to start
|
|
|
|
```
|
|
GITEA_AUTH=<bearer token here>
|
|
yarn && yarn start
|
|
```
|
|
|
|
This will download packages under data directory |