Gathering detailed insights and metrics for @mikekilic/codemapper
Gathering detailed insights and metrics for @mikekilic/codemapper
Gathering detailed insights and metrics for @mikekilic/codemapper
Gathering detailed insights and metrics for @mikekilic/codemapper
npm install @mikekilic/codemapper
Typescript
Module System
Min. Node Version
Node Version
NPM Version
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
14
A powerful CLI tool that generates architectural "Code Maps" for PHP, JavaScript, and Python web projects. Analyze your codebase to create comprehensive documentation that helps developers and AI assistants understand project structure quickly.
1# Install globally via npm 2npm install -g @mikekilic/codemapper 3 4# Analyze your project 5codemapper scan 6 7# Analyze with specific options 8codemapper scan --php # PHP files only 9codemapper scan --js # JavaScript files only 10codemapper scan --python # Python files only 11codemapper scan --format json # JSON output 12codemapper scan --quiet # Minimal output
codemapper scan [path]
Analyze a project and generate code maps.
Options:
--php
- Analyze only PHP files--js
- Analyze only JavaScript/TypeScript files--python
- Analyze only Python files-f, --format <type>
- Output format: md
(default), json
, plaintext
--minimal
- Architectural constants only (cleanest output)-q, --quiet
- Core components only (classes, functions, exports)-v, --verbose
- Detailed analysis with all components-d, --debug
- Full debug output with parser internalsExamples:
1# Analyze current directory 2codemapper scan 3 4# Analyze specific directory 5codemapper scan ./src 6 7# PHP-only analysis with JSON output 8codemapper scan --php --format json 9 10# Minimal architectural overview 11codemapper scan --minimal
codemapper clean [path]
Remove generated files and caches.
1codemapper clean # Clean current directory 2codemapper clean --all # Remove all codemapper files
codemapper version
Display version and system information.
--minimal
: Only architectural constants (const declarations, ALL_CAPS variables)-q, --quiet
: Core components (classes, functions, const/let variables)-v, --verbose
: Detailed output including all variables-d, --debug
: Everything including parser debug informationFiles are generated in .codemapper/output/
with smart naming:
codemap.md
- All languages analyzedcodemap-php.md
- PHP-only analysiscodemap-js.md
- JavaScript-only analysiscodemap.json
- JSON format outputCodemapper works out of the box with sensible defaults. For advanced configuration, it will use .codemapper/config.json
if present:
1{ 2 "analysis": { 3 "languages": { 4 "php": { "enabled": true }, 5 "javascript": { "enabled": true }, 6 "python": { "enabled": true } 7 } 8 }, 9 "output": { 10 "destination": "./.codemapper/output", 11 "formats": [{ "type": "markdown", "enabled": true }] 12 } 13}
When updating to a new version, it's important to properly uninstall the old version first to avoid conflicts:
1# Method 1: Clean update (Recommended) 2npm uninstall -g codemapper 3npm install -g @mikekilic/codemapper 4 5# Method 2: Force reinstall 6npm install -g @mikekilic/codemapper --force 7 8# Verify the update 9codemapper --version
If you experience issues after updating:
Old version still running: The global npm cache may be holding the old version
1# Clear npm cache and reinstall 2npm cache clean --force 3npm uninstall -g codemapper 4npm install -g @mikekilic/codemapper
Permission errors: On macOS/Linux, you may need to use sudo
1sudo npm uninstall -g codemapper 2sudo npm install -g @mikekilic/codemapper
Multiple Node versions: If using nvm or similar, ensure you're in the correct Node environment
1which codemapper # Check installation location 2npm list -g codemapper # Verify global installation
1# Clone and install 2git clone <repository> 3cd codemapper 4npm install 5 6# Build 7npm run build 8 9# Link for development 10npm link 11 12# Run tests 13npm test
MIT License - see LICENSE file for details.
Generated by Codemapper v2.5.1 - Understanding your codebase architecture
No vulnerabilities found.
No security vulnerabilities found.