node-template-generator is a Visual Studio Code extension that allows you to quickly generate various Node.js project folder structures. Whether you're working on a basic project, an MVC architecture, or a feature-based structure, this tool helps you scaffold the project structure quickly.
Features
Generate Basic Node.js Folder Structure
Generate MVC Folder Structure
Generate Feature-Based Folder Structure
Generate folder structures via Command Palette or directly from the command line
Getting Started
Prerequisites
To use the node-template-generator extension, you need:
Visual Studio Code (if using in the editor)
Node.js installed
Installation
To install the node-template-generator extension:
Search for Node Template Generator in the Visual Studio Code Marketplace.
Click Install to add the extension to your VS Code environment.
Usage
You can use the extension in two ways:
From Visual Studio Code (Command Palette)
From the Command Line (Terminal)
1. Usage in Visual Studio Code (Command Palette)
Open Visual Studio Code.
Open the Command Palette using Ctrl + Shift + P (or Cmd + Shift + P on macOS).
Search for Node Template Generator: Generate Folder Structure.
Select the type of folder structure you want to create (e.g., Basic, MVC, or Feature-Based).
Choose the target directory where the folder structure will be generated.
The selected folder structure will be created in the specified directory.
Example:
Open Command Palette and search for: Node Template Generator: Generate Folder Structure
Select Basic folder structure.
Choose the folder where the structure should be created.