npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tcv

v1.0.3

Published

TechConverter CLI - Convert JSON, YAML, Base64, Hex, and more from your terminal

Readme

tcv

A command-line tool for converting between common data formats. All conversions happen locally on your machine.

Installation

npm install -g tcv

Usage

JSON/YAML Conversion

# Convert JSON to YAML
tcv json2yaml config.json
tcv json2yaml config.json -o output.yaml

# Convert YAML to JSON
tcv yaml2json docker-compose.yml
tcv yaml2json docker-compose.yml -o config.json

# Pipe input
echo '{"name":"test"}' | tcv json2yaml

Base64

# Encode
tcv base64 encode "Hello World"
echo "Secret message" | tcv base64 encode

# Decode
tcv base64 decode "SGVsbG8gV29ybGQ="

Hash Generation

tcv hash md5 "password"
tcv hash sha1 "password"
tcv hash sha256 "password"
tcv hash sha512 "password"

# Hash file content
cat file.txt | tcv hash sha256

Hex/Binary Conversion

# Hex to Binary
tcv hex2bin "FF00AB"

# Binary to Hex
tcv bin2hex "11111111"

# Hex to C-Array (for embedded systems)
tcv hex2c "DEADBEEF"

Cron Expression Decoder

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

tcv cron "*/15 * * * *"
# Output: Every 15 minutes

JWT Operations

# Decode JWT
tcv jwt decode "eyJhbGc..."

# Encode JWT (basic, for testing)
echo '{"header":{"alg":"HS256"},"payload":{"sub":"1234"}}' | tcv jwt encode

URL Encoding

# Encode
tcv url encode "hello world"

# Decode
tcv url decode "hello%20world"

Text Transformations

tcv text upper "hello world"      # HELLO WORLD
tcv text lower "HELLO WORLD"      # hello world
tcv text camel "hello world"      # helloWorld
tcv text snake "helloWorld"       # hello_world
tcv text kebab "helloWorld"       # hello-world
tcv text pascal "hello world"     # HelloWorld

All Commands

tcv json2yaml [input]              Convert JSON to YAML
tcv yaml2json [input]              Convert YAML to JSON
tcv base64 <encode|decode> [input] Base64 encode/decode
tcv hash <algorithm> [input]       Generate hash (md5, sha1, sha256, sha512)
tcv hex2bin <hex>                  Convert Hex to Binary
tcv bin2hex <binary>               Convert Binary to Hex
tcv hex2c <hex>                    Convert Hex to C-Array
tcv cron <expression>              Decode cron expression
tcv jwt <decode|encode> [input]    JWT operations
tcv url <encode|decode> [input]    URL encode/decode
tcv text <operation> [input]       Text transformations

Options

  • -o, --output <file> - Write output to file
  • -h, --help - Display help
  • -v, --version - Display version

Privacy

All conversions happen locally. No data is sent to any server.

License

MIT

Links

  • npm: https://www.npmjs.com/package/tcv
  • Website: https://techconverter.me