Check if text is a pangram — a sentence containing every letter of the alphabet (A–Z). Zero dependencies.
npm install -g @kszongic/pangram-cli# Check a sentence
pangram "The quick brown fox jumps over the lazy dog"
# ✓ Pangram! All 26 letters present.
pangram "Hello world"
# ✗ Not a pangram. 7/26 letters found, missing 19.
# Show missing letters
pangram --missing "Hello world"
# Missing (19): a b c f g i j k n p q s t u v x y z
# Quiet mode (exit code only)
pangram -q "The quick brown fox jumps over the lazy dog" && echo "Pangram!"
# Pipe from stdin
echo "Pack my box with five dozen liquor jugs" | pangram| Flag | Description |
|---|---|
-m, --missing |
Show missing letters instead of pass/fail |
-q, --quiet |
Exit code only (0 = pangram, 1 = not) |
-h, --help |
Show help |
-v, --version |
Show version |
0— Input is a pangram1— Input is not a pangram
MIT © kszongic