Tag

fs-extra

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 3, 2024 · Backend Development

Writing, Running, and Debugging Node.js Scripts for Automated Component Export

This guide explains how to create a Node.js script that automatically generates export statements for component libraries, covering script basics, file operations with fs‑extra, package imports, npm integration, and debugging techniques using VS Code.

AutomationNode.jsdebugging
0 likes · 10 min read
Writing, Running, and Debugging Node.js Scripts for Automated Component Export
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2021 · Fundamentals

Design and Implementation of a Configurable CLI Plugin System for Front‑End Projects

This article describes how to redesign a front‑end CLI tool by introducing a router‑like entry, converting hard‑coded commands into configurable objects, implementing a third‑party plugin registration workflow, and refactoring file handling with fs‑extra to improve maintainability and scalability across teams.

Node.jsPlugin ArchitectureTypeScript
0 likes · 14 min read
Design and Implementation of a Configurable CLI Plugin System for Front‑End Projects