Coder Social home page Coder Social logo

adingapkgg / unpkg-white-list Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cnpm/unpkg-white-list

0.0 0.0 0.0 265 KB

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

Home Page: https://npmmirror.com/

License: MIT License

JavaScript 100.00%

unpkg-white-list's Introduction

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


ChenYFan


AIsouler


ydfzgyj


jiakun-zhao


BlackHole1


abuits


chilingling


122cygf


zsj9705


lisonge

This project follows the git-contributor spec, auto updated at Mon May 20 2024 13:39:03 GMT+0800.

unpkg-white-list's People

Contributors

semantic-release-bot avatar fengmk2 avatar adingapkgg avatar chenyfan avatar cnfeffery avatar sharermax avatar shangzhenyang avatar tjyuanpeng avatar ao-x avatar pig0224 avatar aisouler avatar canisminor1990 avatar floatsheep avatar ydfzgyj avatar ironkinoko avatar jiakun-zhao avatar junlongzzz avatar blackhole1 avatar zhipenglin avatar zypluckyphoenix avatar meetacoo avatar saammaa avatar tomgao365 avatar 2239559319 avatar xiaovalry avatar zhizhi-2986 avatar aoguai avatar asdw741111 avatar cha0scat avatar chilingling avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.