Fastify 是一个高度专注于以最少开销和强大的插件架构为开发者提供最佳体验的 Web 框架,号称是目前最快的 Node.js 应用框架之一。 它受 Hapi 和 Express 的启发。 Fastify 0.35.3 是一个小的修复版本,修复了对不支持的方法的 404 处理 - #505 #506 示例代码 // Require the framework and instantiate it const fastify = require('fastify')() // Declare a route fastify.get('/', function (request, reply) { reply.send({ hello: 'world' }) }) // Run the server! fastify.listen(3000, function (err) { if (err) throw err console.log(`server listening on ${fastify.server.address().port}`) }) 下载地址: Source code (zip) Source code (tar.gz) Fastify 0.35.3 发布,极速 Node.js 的 Web 框架下载地址