ITADN
nodejs/learn
README.md
以下内容由 AI 翻译,如有问题请点此提交 issue 反馈

nodejs/learn

Node.js 学习指南的源代码,发布在 https://nodejs.org/learn 上。

创建此仓库是 nodejs/nodejs.org#8612] 计划的一部分,旨在为学习内容提供一个独立的存储空间,与主网站的 monorepo 分开。内容编辑者不再需要处理 Next.js 工具或网站专用的 git hooks。

内容

所有文章均为位于 pages/ 下的 Markdown 文件,按主题分类:

pages/
├── getting-started/        # Introduction to Node.js
├── asynchronous-work/      # Event loop, callbacks, promises, streams
├── command-line/           # REPL, environment variables, CLI I/O
├── diagnostics/            # Debugging, profiling, memory, performance
├── file-system/            # File paths, stats, reading/writing, folders
├── http/                   # HTTP, fetch, WebSockets, proxies
├── package-management/     # npm, publishing packages, Node-API modules
├── security/               # Security best practices
├── testing/                # Test runner, mocking, code coverage
└── typescript/             # TypeScript with Node.js

该结构基于 2025 年剑桥 Node.js 合作伙伴峰会上进行的 卡片分类法研究

开发

npm install
npm run build   # generates static site + Orama search DB in out/

贡献指南

请参阅 CONTRIBUTING.md