Download NPM packages for external backups
lib | ||
.eslintrc.js | ||
.gitignore | ||
index.js | ||
index.ts | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
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