A package.json opens as its manifest

A file named exactly package.json opens as rows instead of raw text: name and version, one line of facts (type, engines, license, package manager), then Scripts (name, command in mono), Dependencies, Dev dependencies, and peer/optional dependencies, each with its range. Source is one tap away (?view=source). package-lock.json and other .json keep the config form.

Terminal: the workspace opens the same rows (packageTable in src/tui/screens/workspace.ts, over the same parsePackage); s flips to the source.

Code: src/web/render/package-json.ts, src/web/render/kinds.ts. Tests: test/render-package-json.test.ts, test/tui-workspace-formats.test.ts.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs