The Powerful Build System: NX
A hands-on guide to NX build system — covering project creation, build configuration, task execution, dependency graph, local caching, nx-cloud, and distributed caching.
Type to start searching
A hands-on guide to NX build system — covering project creation, build configuration, task execution, dependency graph, local caching, nx-cloud, and distributed caching.
Preface: The fs module is the most common module in Node.js, but using fs often comes with various unexpected pitfalls.
Preface: The fs module in Node.js is familiar to most developers. This article compares the three ways to use the fs module.
Preface: In Node.js server development, there are scenarios where you need to get the public IP. However, the default method for getting the IP in Node.js can only retrieve the local IP, not the public one. This article explains how to get the public IP.
Preface: File upload is an essential capability in server-side development. In Node.js web server development, you can use formidable to implement file upload.
Preface: Scheduled tasks are an essential capability in server-side development. In Node.js web server development, you can use cron to implement scheduled tasks.
Preface: Local logging is an essential capability in server-side development. In Node.js web server development, you can use log4js to implement local logging.
Preface This article introduces how to submit standardized commit messages. For the specification, see: https://www.conventionalcommits.org/en/v1.0.0/ commitizen You can manually submit commit messages that follow the spec, like
Preface In Electron development, crash reporting is inevitable. Electron provides crashReporter for reporting crashes, https://www.electronjs.org/docs/latest/api/crash-reporter. The underlying crash handling uses crashpad.
TL;DR: An app for converting PNG to icns on Mac has been created — feel free to use it: https://electron-icns.com/. Preface: When packaging an Electron app as a Mac application bundle, using electron-packager as an example, the default app icon after packaging looks like the Electron logo.
Building a Node.js web server from scratch — covering HTTP module, URL parsing, query, headers, cookies, useragent, body parsing, file upload, CORS, redirect, and the qiao-z framework.
Preface: How to determine if a user is online — not just whether the network is connected. Online means connected to the internet; connected means on a network but without internet access. This article covers detection methods for both Node.js and browser environments.