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-feishu2md

v0.2.5

Published

n8n node to export Feishu/Lark docx to Markdown via feishu2md CLI

Readme

n8n-飞书2md

一个让你在 n8n 里一键把飞书文档导出为 Markdown 的节点。它内置对 feishu2md 的调用,几乎“零配置”就能用。

npm version npm downloads GitHub stars License: MIT

喜欢就 Star 一下,帮助更多人发现这个项目: https://github.com/wavesbig/n8n-nodes-feishu2md

效果展示

n8n 节点效果示例

这是什么

  • 在 n8n 工作流中,输入飞书文档的链接,自动下载并生成 Markdown。
  • 支持两种输出方式:
    • 文件:每个 Markdown 文件作为一条输出,同时会附带图片资源(位于 static/)。
    • Zip:打包 Markdown 和图片资源,一次拿走。
  • 使用 n8n 的凭据传入 App IDApp Secret,节点会自动执行 feishu2md config

你需要准备什么(1分钟搞定)

安装教程

在 n8n 中使用

  1. 新建凭据:在 n8n 的 Credentials 创建 Feishu API,填写 App IDApp Secret
  2. 加节点:把 Feishu2md 节点拖进工作流。
  3. 填参数:
    • 文档 URL:粘贴飞书文档链接。
    • 输出模式:选 Zip(推荐)文件
    • 文件名前缀:需要的话填一个前缀(可为空)。
  4. 运行:
    • Zip 时,节点输出一个 zip(二进制)包含 Markdown 和所有资源。
    • 文件 时,节点会把每个 Markdown 作为一条输出,同时把图片资源也作为文件项输出,路径形如 static/xxx.png

文件与图片在哪里

  • 节点下载生成的内容默认写入当前工作目录(相对路径 ./)。
  • 图片统一放在 ./static/ 文件夹下,Markdown 中的图片路径已指向该目录(例如 static/abc.png)。
  • 选择 文件 输出时,节点还会把 static/ 中的图片作为额外的二进制文件项输出,便于后续保存或传递。

常见问题(FAQ)

  • 节点提示找不到 feishu2md 怎么办?
    • 确认本项目 bin/ 里有对应平台的可执行文件;或你已在系统 PATH 中安装了 feishu2md
  • 链接必须“互联网上可读”吗?
    • 是的,至少需要开启链接分享可读,否则下载会失败。
  • 我只要 Markdown 和图片,其他不要,怎么打包?
    • Zip 输出即可;如果你要自定义打包内容,可以在工作流中用后续节点自己挑选和压缩文件。

原理(懂一点就好)

节点内部做了两件事:

  • 先用你提供的 App IDApp Secret 执行一次 feishu2md config
  • 再执行 feishu2md dl -o ./ <url> 下载文档;下载后把 Markdown 和 static/ 内的图片作为二进制输出给 n8n。

致谢

  • CLI 工具来自开源项目:Wsine/feishu2md(https://github.com/Wsine/feishu2md)。
  • 非常感谢该项目及其作者、贡献者的长期维护与付出,让本节点得以稳定可靠地工作。

许可

MIT