Heco Feature Gen

Feature scaffolding made simple

HomeDocsExamples
v1.0.0GitHub
Documentation
OverviewGetting StartedConfigurationCLI ReferenceProgrammatic APIFolder StructureTemplates

@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

Heco Feature Gen

Feature scaffolding made simple

A powerful CLI tool that creates consistent, feature-based folders with all the boilerplate code you need for modern web development.

Docs

DocumentationExamples

Community

GitHubNPM

© 2026 • Developed by Htoo Aung Phyo Lwin