https://github.com/omrilotan/colombo
🕵️♂️ View Javascript source code using source-map from CLI
https://github.com/omrilotan/colombo
cli debug productivity source-code sourcemap viewer
Last synced: 5 months ago
JSON representation
🕵️♂️ View Javascript source code using source-map from CLI
- Host: GitHub
- URL: https://github.com/omrilotan/colombo
- Owner: omrilotan
- License: unlicense
- Created: 2020-12-15T19:17:30.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-27T12:24:23.000Z (10 months ago)
- Last Synced: 2025-07-19T14:25:05.296Z (6 months ago)
- Topics: cli, debug, productivity, source-code, sourcemap, viewer
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/colombo
- Size: 43 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# colombo [](https://www.npmjs.com/package/colombo)
## 🕵️♂️ Use remote source-map to view Javascript source code from CLI
Run and follow instructions:
```bash
npx colombo
```

## Features
- Interactive
- Supports reading sourcemap location from [SourceMap header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap)
- Tries to figure out the source-map location from the source file content
- Tries to figure out line and column from stack trace style input
- Configure custom headers (one-time or persistant) †
> † Persistant configuration is stored in `~/.colomborc`.
## Manual
```txt
NAME
colombo - Read source code from sourcemap location
SYNOPSIS
colombo [file[:line[:column]]] [options]
DESCRIPTION
Use remote source-map to view Javascript source code from CLI
EXAMPLES
$ colombo https://cdn.example.com/app.d0892a2.js:1:9694
$ colombo https://cdn.example.com/app.d0892a2.js
OPTIONS
--help Show help
--version, -V Show version number
--config Read / Add persistant configuration
--header, -H "key: value" Add a header to the request
EXAMPLES
$ colombo --help
$ colombo https://cdn.example.com/app.d0892a2.js:1:9694 -H "Access-Token: 1234"
$ colombo --config
$ colombo --config -H "access-token: 1234"
```