version: '3.9'
services:
unpkg:
image: linktodream/unpkg
environment:
- NPM_REGISTRY_URL=<Your npm registry server>
- URL_PREFIX=<Your url prefix>
国内镜像
version: '3.9'
services:
unpkg:
image: registry.cn-hangzhou.aliyuncs.com/tf98_public/unpkg
environment:
- NPM_REGISTRY_URL=<Your npm registry server>
- URL_PREFIX=<Your url prefix>
After going through the nginx agent, you may need a prefix path to properly access your unpkg service. Set the environment variable URL_PREFIX
to add the prefix to the resource path.
UNPKG is a fast, global content delivery network for everything on npm.
Please visit the UNPKG website to learn more about how to use it.
Our sponsors and backers are listed in SPONSORS.md.