Skip to main content
JavaScript

cli-delta-dojo

Sharpen your code review skills with CLI-DELTA-DOJO, the terminal-based JSON comparison game

Commits
7
Files
7
Size
62.6 KB
Langs
1
Created
Aug 22, 2024
Last push
9 months ago
README.md

delta-dojo

JSON diff trainer for the terminal. Compare two objects, spot the differences.

Install

npm install

Run

node index.mjs

Controls

  • ← - Objects are different
  • → - Objects are the same
  • q - Quit

Features

  • Character-level diff highlighting
  • True color support
  • Ghostty/Kitty styled underlines (curly, dashed)
  • Responsive layout (side-by-side or stacked)
  • Multiple data types (user profiles, server configs, transactions, API responses)
  • Difficulty scaling based on streak

Requirements

  • Node.js 18+
  • Terminal with true color support (Ghostty, Kitty, iTerm2, etc.)

License

MIT