A Lightweight JS Testing Framework: AVA
Common JS testing frameworks include Jest, Mocha, etc. This article introduces a lightweight JS testing framework: AVA.
Type to start searching
Common JS testing frameworks include Jest, Mocha, etc. This article introduces a lightweight JS testing framework: AVA.
Comparing NX and Lerna for monorepo management — task execution, local caching, distributed caching, dependency visualization, version management, and npm publishing.
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.