finds.dev← search

// the find

chyingp/nodejs-learning-guide

★ 6,868 · Ruby · NOASSERTION · updated Aug 2023

Nodejs学习笔记以及经验总结,公众号"程序猿小卡"

A Chinese-language set of Node.js study notes, mostly written in 2016 and 2017, with a small runnable example for nearly every core module and a few deeper write-ups on Express middleware and crypto. It suits Chinese-speaking developers who want a worked tour of the standard library, not a reference.

- The examples are small, single-purpose files named after the API they exercise, such as dns/lookup-vs-resolve4.js, net/listen/fd and dgram/broadcast, so each one can be run in isolation and compared with its neighbours.

- Coverage is broad. The examples tree spans dns, zlib, http and https (including a self-signed CA setup), net, dgram, process, cluster, streams, and crypto, which includes Diffie-Hellman and RSA signing.

- The Express material goes beyond usage into internals, such as the cookie-parser signing mechanism and the express-session lifecycle with diagrams. Quick-start tutorials rarely do that.

- The README is entirely in Chinese, which limits the audience to Chinese readers. The cipher examples are built around createCipher and createDecipher, which Node deprecated years ago and has since removed, so parts of the code will not run on current Node.

- The table of contents looks unfinished. Several modules (error, global, module, repl, timers, tls) have no link, a few Express items are plain text, and the (ok) markers are never explained, so it is unclear what has been verified.

- The last push was August 2023, and the visible tree shows no test suite, so nothing confirms the examples still work. Treat them as study notes, not as verified code.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →