Snap a bug report — one command to collect everything and open a prefilled GitHub issue.
npm install --save-dev issuesnapOr use it directly without installing:
npx issuesnap "Build failure on Windows"With a title:
npx issuesnap "TypeError in auth module"Pipe an error log:
npm run build 2>&1 | npx issuesnapAs a dev dependency:
{
"scripts": {
"issuesnap": "issuesnap"
}
}npm run issuesnap -- "Production crash"- Error log — from stdin or command argument
- Environment — OS, CPU, memory, shell, Node.js, npm, Yarn, pnpm, Git, Python, Go, Rust, VS Code
- Git context — branch name and commit hash
- Dependencies —
dependencies,devDependencies, andpeerDependenciesfrompackage.json
- Captures the error from a pipe or CLI argument
- Collects environment info via envinfo
- Reads Git branch, commit hash, and remote URL
- Reads dependency versions from
package.json - Builds a prefilled GitHub issue URL
- Opens it in your browser
- Node.js >= 18
- A Git repository with a GitHub remote
MIT