tcv

Command-line tool for developers

Installation

npm install -g tcv

Quick Start

After installation, use tcv from any terminal:

tcv json2yaml config.json
tcv hash sha256 "password"
tcv base64 encode "text"

Features

JSON/YAML

Convert between JSON and YAML formats instantly

Base64

Encode and decode Base64 strings

Hashing

Generate MD5, SHA1, SHA256, SHA512 hashes

Hex/Binary

Convert between hex, binary, and C-arrays

JWT

Decode and encode JWT tokens

Cron

Decode cron expressions to human-readable format

URL Encoding

Encode and decode URL strings

Text Tools

Transform text case (camelCase, snake_case, etc.)

Commands

JSON/YAML Conversion

tcv json2yaml config.json
tcv yaml2json docker-compose.yml
echo '{"key":"value"}' | tcv json2yaml

Base64

tcv base64 encode "Hello World"
tcv base64 decode "SGVsbG8gV29ybGQ="

Hashing

tcv hash md5 "password"
tcv hash sha256 "password"
cat file.txt | tcv hash sha256

Hex/Binary

tcv hex2bin FF00
tcv bin2hex 11111111
tcv hex2c DEADBEEF

Cron Expression

tcv cron "0 9 * * 1-5"
# Output: At 09:00 AM, Monday through Friday

JWT

tcv jwt decode "eyJhbGc..."

URL Encoding

tcv url encode "hello world"
tcv url decode "hello%20world"

Text Transformations

tcv text upper "hello" # HELLO
tcv text camel "hello world" # helloWorld
tcv text snake "helloWorld" # hello_world
tcv text kebab "helloWorld" # hello-world

Options

-o, --output <file> # Save output to file
-h, --help # Display help
-v, --version # Display version

Get Started Now

Install tcv and start converting from your terminal

View on npm View on GitHub ❤️ Sponsor
❤️ Sponsor
💙

Support TechConverter

Get $200 free DigitalOcean credit or sponsor us on GitHub!