14
头图

Today I bring you the best open source project for Node.js learning! The best learning resource for Node.js. I believe you will find interest in learning Node.js!

Hello everyone, I’m your cat brother, that super cat who doesn’t like fish and meows~

1. node

The best learning resource is definitely the most authoritative official Node.js project.

Node.js is an open source, cross-platform JavaScript runtime environment. It executes JavaScript code outside the browser.

For more information on using Node.js, see Node.js website .

https://github.com/nodejs/node

2. node-api-cn

Node.js API Chinese Document Project

https://github.com/nodejscn/node-api-cn

3. node-in-debugging

This is a Node.js debugging guide project, which has been published.

It talks about how to combine the code to guess where the problem might go when the program has a performance bottleneck, and how to show the performance bottleneck of the program.

For example, use perf, flame graph, red and blue differential flame graph to analyze and locate problems.

perf:

Flame diagram:

Red and blue differential flame diagram:

https://github.com/nswbmw/node-in-debugging

4. nodebestpractices

Node.js best practices

  • This is a summary and sharing of the highest ranked content in Node.js best practices
  • This is the largest collection, and it is growing every week. Currently, more than 50 best implementations, style guides, and architectural recommendations have been presented. New issues and PRs are created every day to keep this online book updated.
  • Most of the entries contain additional information. Next to most of the best practice entries, you will find links, which will present you with sample code, blog references and more information

table of Contents

  • Project structure practice (5)
  • Exception handling practice (11)
  • Coding Standard Practice (12)
  • Testing and overall quality practices (8)
  • Enter production practice (16)
  • ⭐ New: Safety Practice (23)
  • Performance Practices (coming soon)
https://github.com/goldbergyoni/nodebestpractices

5. deep-into-node

This project is about: In-depth understanding of Node.js: core ideas and source code analysis.

Source code analysis includes (libuv, v8), and a certain C and C++ foundation is required. The source code of Node.js is shining with the wisdom of developers and the spirit of pursuing the ultimate. including but not limited to:

  • system structure
  • Design Patterns
  • Performance optimization
  • Singularity

This book explains to readers the core idea of node asynchronous IO and event loop by analyzing the realization of node core module. Help developers use Node.js better.

By tracing the node community development issue, discussing the changes and evolution of node, and learning the design philosophy of node.js.

https://github.com/yjhjstz/deep-into-node

6. Nodejs-Roadmap

This project is the author’s learning journey since he was engaged in the development of Node.js. It aims to provide you with a more detailed learning tutorial, with a focus on the technology stack involved in the Node.js server. If this article can help you, Please support!

Node.js is composed of Libuv, Chrome V8, and some core APIs, as shown in the following figure:

The above shows the composition of Node.js, and a brief description is given below:

  • Node Standard Library: Node.js standard library, JavaScript interface provided externally, such as modules http, buffer, fs, stream, etc.
  • Node bindings: This is the bridge between JavaScript and C++, which encapsulates the lower-level modules and provides basic API interfaces to the upper-level.
  • V8: Google's open source high-performance JavaScript engine, developed in C++, and used in Google Chrome. If you are interested and want to learn more V8 engine knowledge, please visit What is V8?
  • Libuv: is a cross-platform support event-driven I/O library. It is developed for Node.js using C and C++ languages, and is also the core part of I/O operations, such as reading files and OS interaction. From a Libuv Chinese Course
  • C-ares: C-ares is an asynchronous DNS resolution library
  • Low-Level Components: Provides functions such as http parsing, OpenSSL, and data compression (zlib).

The above is just a preliminary understanding. If you want to learn more about Node.js, so many and every point is worthy of your in-depth study.

Both the content and the reading effect are very good. It is an open source project worth recommending to learn Node.

https://github.com/qufei1993/Nodejs-Roadmap

7. NeteaseCloudMusicApi

NetEase Cloud Music Node.js API service

Functional characteristics

There are 206 apis in total!

such as:

登录
刷新登录
发送验证码
校验验证码
注册(修改密码)
获取用户信息 , 歌单,收藏,mv, dj 数量
获取用户歌单
获取用户电台
获取用户关注列表
获取用户粉丝列表
获取用户动态
获取用户播放记录
获取精品歌单
获取歌单详情
搜索
搜索建议
获取歌词
歌曲评论
收藏单曲到歌单
专辑评论
歌单评论
mv 评论
电台节目评论
banner
获取歌曲详情
获取专辑内容
获取歌手单曲
获取歌手 mv
获取歌手专辑
获取歌手描述
获取相似歌手
获取相似歌单
相似 mv
获取相似音乐
获取最近 5 个听了这首歌的用户
获取每日推荐歌单
获取每日推荐歌曲
私人 FM
签到
喜欢音乐
等等。。。

If you want to make an open source music project, you can take a good look at this project.

https://github.com/Binaryify/NeteaseCloudMusicApi

8. node-elm

This is a background system based on node.js + Mongodb.

The whole project is divided into two parts: the front-end project interface, the back-end management interface, there are more than 60 in total. It involves logging in, registering, adding products, product display, sorting, shopping cart, placing an order, user center, etc., forming a complete process.

Target function

 IP定位 -- 完成
 城市列表 -- 完成
 搜索地址 -- 完成
 上传图片 -- 完成
 添加商铺 -- 完成
 添加食品 -- 完成
 测量距离 -- 完成
 搜索美食,餐馆 -- 完成
 根据距离、销量、评分、特色菜、配送方式等进行排序和筛选 -- 完成
 评价列表 -- 完成
 食品详情 -- 完成
 商家详情 -- 完成
 购物车功能 -- 完成
 登录、注册 -- 完成
 修改密码 -- 完成
 用户信息 -- 完成
 添加、删除、修改收货地址 -- 完成
 下单 -- 完成 ✨✨
 订单信息 -- 完成
 红包 -- 完成
 商铺管理 -- 完成
 食品管理 -- 完成
 管理员权限验证 -- 完成
 超级管理员 -- 完成
 订单管理 -- 完成
 流量统计 -- 完成
 前后台路由同构 -- 完成
 部署上线 -- 完成

https://github.com/bailicangdu/node-elm

9. awesome-nodejs

content directory

官方的
配套
疯狂科学
命令行应用
功能编程
HTTP
调试/分析
记录中
命令行实用程序
构建工具
硬件
模板化
Web框架
文献资料
文件系统
控制流
溪流
即时的
图像
文本
数字
数学
日期
网址
资料验证
解析中
人性化
压缩
网络
数据库
测验
安全
标杆管理
缩小器
验证
授权
电子邮件
作业队列
Node.js管理
自然语言处理
流程管理
自动化
AST
静态网站生成器
内容管理系统
论坛
写博客
奇怪的
序列化
各种各样的
资源
讲解
发现
文章
时事通讯
影片
图书
网志
课程
备忘单
工具
社区
各种各样的
相关清单
https://github.com/sindresorhus/awesome-nodejs

At last

Okay, Node.js is a good open source project for learning, and the ones I have found so far are those above.

For how to find a good open source project, you can read this article: GitHub-How to Find a Good Open Source Project

Unknowingly, the original article has been written to the 43 issue. Almost every article is a high-quality open source project carefully selected by Brother Mao. The projects in every article pushed are almost helpful for front-end development. of.

Originality is not easy. It takes a few nights for a high-quality article to come out. It takes a lot of time and energy to screen and write the reason for recommendation. After reading the article, the big guys can easily come up with a one-click three-connection. Be a little encouragement to Brother Cat.

Please see the treasure warehouse below for the previous essays, please enter carefully!

https://github.com/FrontEndGitHub/FrontEndGitHub

essays

Public number: front-end GitHub , focusing on mining excellent front-end open source projects, smoothing out your front-end information asymmetry, and committed to creating the best front-end open source project resource library.

If you see this and like this article, please help look good at .


夜尽天明
13.9k 声望6.5k 粉丝