merf

1.1.0 • Public • Published

Merf

A CLI tool to aggregate your codebase into a single markdown file for use with AI models.

Installation

npm install -g merf

Usage

merf [directory] -o output.md -i node_modules .git

Options:

  • -o, --output <file>: Output file (default: codebase.md)
  • -i, --ignore <patterns...>: Ignore patterns (default: node_modules, .git)

Development

# Watch mode
npm run dev

# Run tests
npm test

Examples

Aggregate current directory:

merf

Specify directory and output:

merf ./my-project -o project.md

Add custom ignore patterns:

merf -i node_modules .git dist build

Package Sidebar

Install

npm i merf

Weekly Downloads

6

Version

1.1.0

License

MIT

Unpacked Size

13.8 kB

Total Files

11

Last publish

Collaborators

  • one-aalam