🌐 Nodejs.cn
announcements

Express的新面貌

Sebastian BeltranMay 18, 2026

Express 十多年来一直是 Node.js 生态系统中最重要的框架之一。数以百万计的开发者使用 Express 构建了他们的第一个 API、第一个网络应用,甚至是他们的第一个创业项目。然而,尽管该框架持续发展,网站多年来却基本保持不变。

🌐 Express has been one of the most important frameworks in the Node.js ecosystem for over a decade. Millions of developers have built their first API, their first web app, or even their first startup with Express. Yet, while the framework kept evolving, the website remained largely the same for years.

在2024年,Express项目经历了一次重大重启。一个新的团队,对框架的新愿景,以及一条明确的前进道路。这种动力激励我开始为Express做出贡献,目标很简单:改善文档体验。良好的文档能帮助每个人,从搭建第一个服务器的初学者,到寻找正确API细节的资深开发者,甚至是那些在Express之上构建框架的人。到2025年初,当Express文档的重新设计正式启动时,这一目标开始成为现实。最初的文档工作最终发展成更大的事情——网站的全面重新设计以及Express全新的标志。

🌐 In 2024, the Express project went through a major reboot. A new team, a fresh vision for the framework, and a clear path forward. That momentum inspired me to start contributing to Express with a simple goal: improve the documentation experience. Good documentation helps everyone, from beginners building their first server to experienced developers looking for the right API detail, or even those building frameworks on top of Express. In early 2025, that goal started to become a reality when the redesign of the Express documentation officially kicked off. What began as a documentation effort eventually grew into something much bigger, a complete redesign of the website and a brand-new logo for Express.

简而言之:我们重建了 Express 网站,改进了文档体验,并推出了新的标志和视觉识别,以匹配项目的发展方向。

🌐 In short: we rebuilt the Express website, improved the documentation experience, and introduced a new logo and visual identity to match where the project is headed.

一个新网站

🌐 A New Website

重建 Express 网站不仅是视觉上的更新。这也是一个重新思考文档如何组织、生成和维护的基础的机会。

🌐 Rebuilding the Express website was not only a visual refresh. It was also an opportunity to rethink the foundations of how the documentation is organized, generated, and maintained.

Side-by-side comparison of the current Express homepage and the redesigned version

在底层,我们从 Jekyll 转移到了 Astro,这是在经过长时间的 社区讨论 后权衡利弊和长期维护选择的结果。它为我们提供了处理内容密集型页面所需的灵活性、出色的性能、稳固的国际化支持,以及不会将我们锁定在单一 UI 框架中的组件模型。

🌐 Under the hood, we moved from Jekyll to Astro, chosen after a long community discussion weighing tradeoffs and long-term maintenance. It gave us the flexibility we needed for content-heavy pages, strong performance, solid i18n support, and a component model that doesn’t lock us into a single UI framework.

文档中的新内容

🌐 What’s New in the Documentation

这次重新设计也是一个机会,可以实现长期以来对文档工作方式的改进请求。

🌐 The redesign was also a chance to bring long-requested improvements to how the documentation works.

  • 改进的版本管理。 文档页面现在支持并排显示多个版本的 Express。你可以阅读你实际运行的版本的文档,并且内容在新版本发布时保持稳定。以前的网站很难实现这一点,这常常导致不同版本之间的混淆。现在,随着 Express 5 成为最新稳定版本,而许多项目仍在使用 Express 4,这一点尤其有用。
  • AI 驱动的搜索。 新的搜索基于 Orama 构建,不仅仅局限于关键词匹配。你可以用自然语言提问,并直接从文档中获取上下文相关的答案,这使得找到正确的 API 或概念更快捷。
  • llms.txt 支持。 文档的每个部分现在都可以通过 llms.txt 端点获得,遵循 llms.txt 约定。这使得语言模型、AI 助手和其他工具更容易访问准确、最新的 Express 文档。

文档的下一步是什么

🌐 What’s Next for the Documentation

启动新网站只是一个开始。这一工作的下一阶段将重点放在文档本身上,弥补多年来积累的空白,并将每个 Express API 提升到框架应有的标准。

🌐 Launching the new site is just the start. The next phase of this effort is focused on the documentation itself, closing the gaps that have built up over the years and bringing every Express API up to the standard the framework deserves.

接下来的一些事情:

🌐 A few of the things ahead:

  • 弥补内容差距。 许多指南和 API 参考仍然需要新的示例、更清晰的解释,或重写以反映当前 Express 的使用方式,尤其是 Express 5。
  • 更好的翻译。 该网站拥有扎实的国际化基础,但大多数翻译不完整或已过时。目标是让任何母语使用者都能轻松参与 Express 文档的翻译。
  • 保持文档与版本同步。 新的 Express 版本应随附已准备好的文档,而不是几个月后才补上。

新网站旨在让贡献变得比以往更容易。如果你发现有改进空间的地方、解释不清楚的部分、缺失的示例或需要改进的翻译,请提交问题或拉取请求

🌐 The new site is designed to make contributing easier than ever. If you spot something that could be better, an unclear explanation, a missing example, or a translation that needs love, please open an issue or a pull request.

一个新标志

🌐 A New Logo

最显著的变化之一是全新的 Express 标志。这并非我们单独设计的成果。它源自与 Orama 团队的合作研讨会,社区成员和 Express 技术委员会共同参与,定义了今天的 Express 是谁以及它的发展方向。整个过程是公开进行的,因此社区中的任何人都可以参与并发表意见。

🌐 One of the most visible changes is the brand-new Express logo. This wasn’t something we designed in isolation. It came out of a collaborative workshop with the Orama team, where community members and the Express Technical Committee came together to define who Express is today and where it’s heading. The entire process was handled publicly, so anyone in the community could participate and share their voice.

在进入视觉识别之前,我们共同致力于奠定将指导每一个设计决策的基础。

🌐 Before jumping into the visual identity, we worked together on the foundations that would guide every design decision.

愿景与使命

🌐 Vision and Mission

我们首先问自己两个简单的问题:今天的 Express 是什么,以及我们希望它走向何方?这些答案成为了现在指导每一个决策的愿景和使命,从框架本身到文档,再到新的视觉识别。

🌐 We started by asking ourselves two simple questions: what is Express today, and where do we want it to go? The answers became the vision and mission that now guide every decision, from the framework itself to the documentation and the new visual identity.

Express vision and mission: Express is a minimal, scalable, and stable web framework for Node.js with a welcoming community that empowers developers of all levels. Our mission is to make it easier for developers to build great software by clearing away the complexity of server-side development in Node.js.

品牌价值

🌐 Brand Values

在明确了愿景和使命之后,我们将其提炼为三个价值观,这些价值观描述了 Express 如何为其用户服务。它们为全新的身份提供支撑,并为项目传达的一切定下基调。

🌐 With the vision and mission in place, we distilled them into three values that describe how Express shows up for its users. They anchor the new identity and set the tone for everything the project communicates.

Express brand values: Established, Dependable, and Approachable.

标志

🌐 The Logo

在奠定了这一基础之后,设计工作由Orama团队的Angela AngeliniDavide Spaziani主导。经过数月的时间,多种标志设计方案被分享给社区以获取反馈。你仍然可以在原始讨论中查看所有这些方案。

🌐 With that foundation in place, the design work was led by Angela Angelini and Davide Spaziani from the Orama team. Over several months, multiple logo proposals were shared with the community for feedback. You can still explore all of them in the original discussion.

在收集了社区反馈后,无论是在 OpenJS Foundation 的 Slack 上还是在各大社交媒体上,我们最终确定了你今天看到的徽标和网站图标:

🌐 After gathering feedback from the community, both on the OpenJS Foundation Slack and across social media, we landed on the logo and favicon you see today:

The new Express logo and favicon

它代表了 Express 的一个新的篇章,同时保持了始终定义该框架的极简主义和清晰性。

🌐 It represents a fresh chapter for Express while staying true to the minimalism and clarity that have always defined the framework.

由社区构建

🌐 Built by the Community

这次重新设计并非个人努力的成果。来自 Express 社区的数十人,在一年多的时间里贡献了代码、设计、评审和反馈。

🌐 The redesign was not a solo effort. Dozens of people from across the Express community contributed code, design, reviews, and feedback over more than a year.

这项工作由Sebastian Beltran领导,Francesca Giannino负责推动新网站的大部分设计和用户界面工作,Angela AngeliniDavide Spaziani则领导了塑造新视觉识别的品牌研讨会。

🌐 The effort was led by Sebastian Beltran, with Francesca Giannino driving much of the design and UI work across the new site, and Angela Angelini and Davide Spaziani leading the brand workshop that shaped the new visual identity.

非常感谢Orama团队赞助Francesca GianninoAngela AngeliniMichele RivaDavide Spaziani,以及他们在项目每个阶段所提供的设计、反馈和支持。

🌐 A huge thank you goes to the Orama team for sponsoring Francesca Giannino, Angela Angelini, Michele Riva, and Davide Spaziani, and for the design, feedback, and support they brought to every stage of the project.

从 Express 方面来看,这次重新设计是由许多人共同塑造的:Ulises GascónRand McKinneyJon ChurchShubham OulkarExpress 技术委员会的其他成员,以及在整个过程中提供审查、问题或评论的每一位贡献者。完整的历史记录,包括每一个进入重新设计的 PR,都保存在主要拉取请求中。

🌐 From the Express side, the redesign was shaped by many hands: Ulises Gascón, Rand McKinney, Jon Church, Shubham Oulkar, the rest of the Express Technical Committee, and everyone who contributed reviews, issues, or comments along the way. The full history, including every PR that made it into the redesign, lives in the main pull request.

这个发布花费了一年多的时间。在开源字段,进展很少是迅速的:决策需要讨论,设计需要迭代,审查需要时间。但一步一步地,一个社区可以创造出令其自豪的东西,而这就是其中的一步。

🌐 More than a year of work went into this launch. In open source, progress is rarely fast: decisions take discussion, design takes iteration, and reviews take time. But step by step, a community can build something it’s proud of, and this is one of those steps.

感谢多年来使用 Express 编写代码的每一个人,感谢那些帮助构建这个新网站的人,以及感谢让这个项目持续运作的更广泛社区。我们迫不及待地想看到你接下来会创造什么。

🌐 Thank you to everyone who has written code with Express over the years, to the people who helped build this new site, and to the broader community that keeps the project alive. We can’t wait to see what you build next.

有兴趣写一篇文章吗?查看我们的指南以开始吧。

阅读指南