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

n8n-nodes-mysql-to-wps

v2.0.0

Published

MySQL to Kingsoft WPS exporter node for n8n workflow automation

Readme

n8n-nodes-mysql-to-wps

这是一个用于从 MySQL 数据库导出数据到金山 WPS 的 N8N 节点插件。

功能特性

  • 从 MySQL 数据库查询数据
  • 支持按日期字段过滤数据
  • 自动批量发送数据到金山 WPS
  • 支持大数据量导出(自动分批处理)
  • 完整的错误处理和日志记录

安装

npm install n8n-nodes-mysql-to-wps

配置

MySQL 凭据配置

需要配置以下 MySQL 连接信息:

  • Host: MySQL 服务器地址
  • Port: MySQL 端口(默认 3306)
  • Database: 数据库名称
  • User: 用户名
  • Password: 密码
  • Connect Timeout: 连接超时时间(毫秒)
  • Connection Pool Limit: 连接池限制

Kingsoft WPS 凭据配置

需要配置以下金山文档 API 信息:

  • API URL: 金山文档 API 端点地址
  • API Token: AirScript-Token 认证令牌

使用方法

节点参数

  1. Operation: 选择操作类型(默认: Export to WPS)
  2. Table Name: MySQL 表名
  3. Sheet Name: 目标工作表名称
  4. Date Field: 日期字段名称(用于过滤)
  5. Date Threshold: 日期阈值(格式: YYYY-MM-DD)
  6. Fields to Export: 要导出的字段列表(逗号分隔)

可选参数

  • Batch Size: 每批发送的行数(默认: 20000)
  • Request Timeout: 请求超时时间(默认: 120000ms)
  • Enable Debug: 启用调试输出
  • Max Debug Characters: 调试输出最大字符数

示例

基本用法

Table Name: all_merchants_monthly
Sheet Name: 淘宝月报
Date Field: 日期
Date Threshold: 2024-12-01
Fields to Export: 日期,商家ID,商家名称,商家状态,店铺类型,联系电话

开发

构建

npm run build

开发模式

npm run dev

发布

npm publish

依赖

  • mysql2: MySQL 客户端
  • n8n-workflow: N8N 工作流引擎

许可证

MIT

作者

WPS Team