Skip to content

npmmirror.com 允许开启 unpkg 功能的白名单列表,避免被当作网盘滥用

License

Notifications You must be signed in to change notification settings

alexxtse/unpkg-white-list

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unpkg-white-list

NPM version CI

npmmirror.com 允许开启 unpkg 功能的白名单列表,避免 https://x.com/fengmk2/status/1791498406923215020 类似问题

添加白名单方式

1、直接在线修改 package.json 中的 allowPackages 字段, 添加你想开启 unpkg 文件同步的 npm 包名和版本号,全量同步版本号可以设置为 *

以同步 urllib 为示例,配置如下:

"allowPackages": {
  ...
  "urllib": {
    "version": "*"
  }
  ...
}

当然你发布的是 scoped package,可以直接添加 scope 到白名单 allowScopes

"allowScopes": [
  ...
  "@eggjs",
  ...
]

2、修改完成后提交一个 Pull Request 合并到 master 分支,等待 Review,合并后会自动发布,预计最长 5 分钟后会全网生效。

License

MIT

Contributors


semantic-release-bot


fengmk2


AdingApkgg


ChenYFan


CNFeffery


SharerMax


shangzhenyang


Ruanxingzhi


i18n-now


tjyuanpeng


ao-x


pig0224


AIsouler


canisminor1990


FloatSheep


ydfzgyj


IronKinoko


jiakun-zhao


junlongzzz


BlackHole1


zhipenglin


zypluckyphoenix


Meetacoo


Merrg1n


Saammaa


tomgao365


2239559319


Xiaovalry


Zhizhi-2986


aoguai


asdw741111


bukwork


cha0sCat


chilingling


dashuaibi45678


fondoger


ganlinte


gofunn


hacke2


ikrong


kskshaf


lrhtony


122cygf


mygithub20152015


n0127


ocean-gao


onlyid


poplanchong123


sparkcyf


ssddi456


Yuliang-Lee


zsj9705


lisonge


DaiQiangReal


yisar


hsp-sz


SunWuyuan


uuiid


MengNianxiaoyao


zf1234d


ArcticFox520


ysicing


cuiqg


it-chenliang


wenerme

This project follows the git-contributor spec, auto updated at Sun Jun 02 2024 23:58:14 GMT+0800.

About

npmmirror.com 允许开启 unpkg 功能的白名单列表,避免被当作网盘滥用

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%