@heco-gen/features
A pluggable, config-driven feature generator CLI. Create consistent feature-based folder structures with all the boilerplate code you need for modern web development.
What is it?
@heco-gen/features is a scaffolding tool that generates feature-based folder structures. Instead of manually creating files and folders for each new feature, define your structure once and generate it with a single command.
Key Features
- Feature-based structure — Organize code by feature, not by file type
- Config-driven — Define folder structures in
hfg.config.json - Pluggable generators — Add custom generators for any framework
- Template engine — Use Handlebars or EJS for file templates
- TypeScript first — Full type support out of the box
How it works
bash
# Install
npm install @heco-gen/features
# Generate a feature
npx heco generate user-profile
# List available generators
npx heco list