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 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-qiniucloud

v1.0.2

Published

n8n node for Qiniu Cloud file upload

Readme

n8n-nodes-qiniucloud

这是一个用于 n8n 的七牛云对象存储节点,支持文件上传功能。

安装

在 n8n 项目中安装:

npm install n8n-nodes-qiniucloud

配置

  1. 在 n8n 中创建新的七牛云 API 凭据
  2. 填入以下信息:
    • Access Key: 七牛云访问密钥
    • Secret Key: 七牛云私钥
    • Region: 存储区域
      • z0: 华东
      • z1: 华北
      • z2: 华南
      • na0: 北美
      • as0: 东南亚

使用方法

  1. 在工作流中添加"Qiniu Cloud"节点
  2. 选择凭据
  3. 配置以下参数:
    • Bucket Name: 存储空间名称
    • File Key: 文件在七牛云中的键名(文件名)
    • Input Type: 选择输入类型
      • Binary Data: 从二进制数据字段上传
      • URL: 从网络地址下载并上传

二进制数据上传

当选择"Binary Data"输入类型时:

  • Input Data Field Name: 包含文件数据的二进制字段名(默认: data)

URL 上传

当选择"URL"输入类型时:

  • File URL: 要下载并上传的文件网络地址
  • Download Timeout: 下载超时时间(秒,默认30秒)
  • Auto Extract Filename: 当File Key为空时是否自动从URL提取文件名

可选配置

  • Content Type: 文件的 MIME 类型
  • Overwrite: 是否覆盖同名文件

使用示例

上传本地文件

  1. 使用 "Read Binary Files" 节点读取本地文件
  2. 连接到 "Qiniu Cloud" 节点
  3. 设置 Input Type 为 "Binary Data"
  4. 配置 Bucket Name 和 File Key

从URL上传文件

  1. 设置 Input Type 为 "URL"
  2. 在 File URL 字段填入文件网络地址,例如:
    • https://example.com/image.jpg
    • https://cdn.example.com/files/document.pdf
  3. 配置 Bucket Name 和 File Key
  4. 可选:设置下载超时时间

功能特性

  • ✅ 支持文件上传
  • ✅ 支持从网络URL下载并上传
  • ✅ 支持多区域配置
  • ✅ 支持文件覆盖选项
  • ✅ 支持自定义 Content-Type
  • ✅ 支持可配置的下载超时
  • ✅ 支持从URL自动提取文件名
  • ✅ 错误处理和重试机制

依赖

  • qiniu - 七牛云官方 JavaScript SDK
  • axios - HTTP 客户端,用于从URL下载文件

许可证

MIT

贡献

欢迎提交 Issue 和 Pull Request。

相关链接