/cdn

github + actions + npm 上传图片github通过action自动打包发布到npm 通过cdn访问

图床转换工具

github + actions + npm 上传图片github通过action自动打包发布到npm 通过cdn访问

访问

https://cdn.jsdelivr.net/npm/[package-name]@[version]/rawimg/[filename].[suffix]

https://cdn.jsdelivr.net/npm/ten-cdn/rawimg/logo.png
https://cdn.jsdelivr.net/npm/ten-cdn@0.0.1/rawimg/logo.png

https://unpkg.com/ten-cdn/rawimg/logo.webp
https://unpkg.com/ten-cdn@0.0.1/rawimg/logo.webp
https://unpkg.com/ten-cdn@0.0.1/rawimg/logo.png

https://npm.elemecdn.com/ten-cdn/rawimg/logo.webp

可选

https://cdn.jsdelivr.net/npm/  # jsDelivr
https://unpkg.zhimg.com/ # 知乎
https://npm.elemecdn.com/ # 饿了么
https://unpkg.com/ # Unpkg