npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

picgo-plugin-cloudflare-r2-xqv

v1.0.6

Published

picgo for cloudflare-r2 storage by xiaoqinvar

Readme

picgo-plugin-cloudflare-r2-xqv

picgo for cloudflare-r2 storage

食用教程

  1. 已有cloudflare云平台的账号:cloudflare云平台

  2. cloudflare-r2存储价格,官方文档:cloudflare-r2 free pricing

    截止2024-10-12记录,标准存储桶的免费操作如下

  • 存储:10GB/月
  • A类(更新、删除操作):100w次/月
  • B类(读取操作):1000w次/月
  • 流量出口:免费

    超出部分自行研究文档:cloudflare-r2 pricing

  1. 设置公开域名或使用clouflare提供的子域名:在存储桶内 - 设置

    有需要可以开启,我是用的是自己的域名

  2. 创建cloudflare-r2存储桶并创建R2 API令牌

  > 记录里面的信息,便于后面使用。密钥ID对应`accessKey`,密钥机密对应`access密钥`,终结点对应`cloudflare端点`;这些后面相关配置

  > 😓 吐槽:经典直译英译汉

安装

  • 手动安装:下载本项目后
# 安装依赖
npm i
pnpm i # 👍
# 构建
npm run build
pnpm build
  • 手动安装picgo插件:如下图,选中目录记录,最后需要重启

配置

  1. cloudflare端点:前面记录的api终结点(😓)
  2. accessKey: 前面记录的Key
  3. access密钥: 前面记录的密钥
  4. 存储桶名:创建的存储桶的名称
  5. 域名地址:公开访问的域名地址(绑定的域名或cloudflare提供的域名)
  6. 目录:保存图片的目录,不填默认上传到存储桶的根目录

功能

  1. 从剪切板上传到cloudflare-R2

上传成功提示如图

  1. 删除上传文件

删除成功如图

推荐

  • 开启以下设置对文件名比较友好,对于大部分存储桶来说像"/"、""这种符号是不被允许的