Skip to content

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

License

Notifications You must be signed in to change notification settings

ljianc/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


i18n-now


wangluyu-798


AdingApkgg


ChenYFan


CNFeffery


SharerMax


shangzhenyang


SukkaW


Ruanxingzhi


Zhizhi-2986


Hzrr97


tjyuanpeng


yitiaoxianyugan


qianjiachun


ao-x


pig0224


AIsouler


alexxtse


MrKou47


canisminor1990


DremyGit


FloatSheep


ydfzgyj


IronKinoko


jiakun-zhao


junlongzzz


BlackHole1


rookie-luochao


zhipenglin


zypluckyphoenix


Meetacoo


Merrg1n


Saammaa


shoyuf


lslzl3000


tangyabo


tomgao365


2239559319


Xiaovalry


YieldRay


Sec-ant


a2803401120


aoguai


asdw741111


bukwork


cha0sCat


chilingling


dashuaibi45678


fondoger


ganlinte


gofunn


hacke2


kkocdko


ikrong


kskshaf


leleccccc


lemonfog


libre-ui


lrhtony


122cygf


mygithub20152015


n0127


ocean-gao


onlyid


peiit


poplanchong123


sparkcyf


ssddi456


Yuliang-Lee


zsj9705


lisonge


DaiQiangReal


yisar


hsp-sz


SunWuyuan


uuiid


MengNianxiaoyao


zf1234d


CongAn


ArcticFox520


ysicing


cuiqg


bytemain


it-chenliang


wenerme

This project follows the git-contributor spec, auto updated at Mon Jun 10 2024 21:16:20 GMT+0800.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%