A powerful scaffolding tool for Node.js/TypeScript projects. Quickly generate controllers, services, modules, and entire project boilerplates with a single command.
- Scaffold controllers, services, modules, and projects
- Interactive CLI prompts for easy usage
- Supports custom templates
- Configurable via
forge.config.json - Dry-run mode for previewing changes
- Colored output and spinners for better UX
npm i -g @node-forge/forgeforge g controller Userforge g service Authforge g module Blogforge new my-appJust run forge with no arguments:
forgeAdd a forge.config.json in your project root to set defaults:
{
"outputPath": "src/generated",
"namingConvention": "PascalCase"
}Place your templates in .forge/templates/ to override the defaults.
- Interactive CLI
- Config file support
- Dry-run mode
- Custom templates
- Plugin system for new resource types
- Project type presets (REST, GraphQL, etc.)
- Auto-generate documentation
- More advanced testing and CI
PRs and issues welcome!
MIT