codebaser
v1.0.4
Published
A tool to flatten codebases into single files with predefined templates
Maintainers
Readme
Codebaser
A CLI tool to flatten codebases into single files with predefined templates for different project types.
Installation
npx codebaserUsage
npx codebaser <template> [directories...]Example:
npx codebaser react src componentsAvailable Templates
nodejs: JavaScript/TypeScript Node.js projectsreact: React/Next.js projectspython: Python projectsgo: Go projectsrust: Rust projectsarduino: Arduino projectsphp: PHP projectsdocs: Documentation files (.md, .mdx)
Configuration
Environment variables:
ENCODING: Set file encoding (default: utf-8)OUTPUT_PATH: Custom output file path
Requirements
- Node.js >= 14.0.0
License
MIT
