76,992
stars
+1+22+185
8,688
forks
760
watchers
12,069
prs
5,968
issues
174
releases
0
discussions
README
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
用于构建高效且可扩展的服务器端应用程序的渐进式 Node.js 框架,深受 Angular 的启发。
English
介绍
Nest是构建高效,可扩展的 Node.js Web 应用程序的框架。 它使用现代的 JavaScript 或 TypeScript(保留与纯 JavaScript 的兼容性),并结合 OOP(面向对象编程),FP(函数式编程)和FRP(函数响应式编程)的元素。
在底层,Nest 使用了 Express,但也提供了与其他各种库的兼容,例如Fastify,可以方便地使用各种可用的第三方插件。
设计哲学
近几年,由于 Node.js,JavaScript 已经成为 Web 前端和后端应用程序的「通用语言」,从而产生了像Angular、React、Vue等令人耳目一新的项目,这些项目提高了开发人员的生产力,使得可以快速构建可测试的且可扩展的前端应用程序。 然而,在服务器端,虽然有很多优秀的库、helper 和 Node 工具,但是它们都没有有效地解决主要问题 - 架构。
Nest 旨在提供一个开箱即用的应用程序体系结构,允许轻松创建高度可测试,可扩展,松散耦合且易于维护的应用程序。
开始
要查看 English指南, 请访问 docs.nestjs.com. :books:
国内开发者交流群
QQ群:277386223
QQ群:336289049
QQ群:489719517
注意:这个交流群不是 NestJS 官方支持和维护的,只是为了方便国内开发者交流而建立的。
(Note: This channel is not officially supported and maintained by the NestJS org members.)
赞助商
Nest是一个MIT许可的开源项目。它的发展得益于赞助商和支持者的支持。如果你想加入他们,请查看更多。谢谢! :heart_eyes:
支持者
相关人员
作者 - Kamil Myśliwiec
网站 - https://nestjs.com
Twitter - @nestframework
License
Nest is MIT licensed.Top issues
#1006[Discussion] Who is using Nest in production?391 comments · 2018-08-26#13223KafkaJs seems not maintained anymore64 comments · 2024-02-17#882Support adding guards on gateway’s handleConnection method.45 comments · 2018-07-17#1438Add dynamic routing35 comments · 2019-01-12#13158`UploadFile()` should accept `Readable` instead of `Buffer`15 comments · 2024-02-02#17962new enhancer provide tokens6 comments · 2026-09-30#18360feat(platform-node): support HTTP/2 in the NodeAdapter2 comments · 2026-11-02#18297Enable trusted publishing for `@nestjs/*` packages1 comments · 2026-10-27
Latest release
v12.4.0 v12.4.0 2026-11-06v12.4.0 (2026-11-06) Features platform-node 18396 feat(node): let the node adapter set locals for every view (@thekhegay) Bug fixes microservices 18418 fix(microservices): ignore an mqtt server's own replies under wildcards (@pavstev) 18413 fix(microservices): reach handlers whose string pattern reads as json (@pavstev) 18392 fix(microservices): forward grpc call options on request streams (@DenisCDev) 18393 fix(microservices): await the mqtt close and reset the client state (@hktitof) common 18419 fix(common): keep the fields of grouped item errors in par