dump

command
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command dump is the Go side of the cross-port diff (scripts/compare-ports.mjs): JSONL in, JSON out.

Each stdin line is an object {"fn", "input", "options", "formatOptions", "edits"} as in the shared fixtures; each stdout line is the JSON result of that call, written as the JavaScript package writes it. A line that is not a JSON object gives null. Non-finite numbers travel as 1e999 / -1e999, which the reader takes as infinity.

go run -tags trackparse_wire ./internal/cmd/dump < cases.jsonl > results.jsonl

The tag links the JSON door into the trackparse package (wire_hook.go); without it the command stops with a message.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL