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

@arc2898/termimg

v1.0.0

Published

Display images in any terminal — ASCII art, ANSI color, or sixel graphics

Readme

@arc2898/termimg

Display images in any terminal — ASCII art, ANSI color, or sixel graphics

Demo

Features

  • ASCII Art — Classic character-based rendering with customizable charset
  • Truecolor ANSI — Photo-realistic output using 24-bit ANSI colors (most modern terminals)
  • Sixel Graphics — Native graphics protocol for compatible terminals (iTerm2, mlterm)
  • Batch Mode — Display multiple images in sequence
  • Smart Resize — Auto-fit to terminal dimensions or specify exact size
  • ** Formats** — PNG, JPEG, GIF, BMP, TIFF, WebP

Installation

npm install -g @arc2898/termimg

Usage

# Display an image (auto-detects best method)
termimg photo.jpg

# Force ASCII art mode
termimg photo.jpg --mode ascii

# Force ANSI truecolor mode
termimg photo.jpg --mode ansi

# Force sixel mode
termimg photo.jpg --mode sixel

# Resize to specific dimensions
termimg photo.jpg --width 120 --height 40

# Batch display from directory
termimg ./screenshots/*.png --batch

# Output to file instead of stdout
termimg photo.jpg --output ascii.txt

# Show image info without displaying
termimg photo.jpg --info

Options

| Option | Short | Description | Default | |--------|-------|-------------|---------| | --mode | -m | Rendering mode: auto, ascii, ansi, sixel | auto | | --width | -w | Output width in characters/columns | Terminal width | | --height | -H | Output height in rows | Auto | | --charset | -c | ASCII charset: simple, detailed, blocks | detailed | | --color | | Color mode: truecolor, 256, mono | truecolor | | --invert | | Invert light/dark for ASCII mode | false | | --batch | -b | Batch mode for multiple files | false | | --output | -o | Write to file instead of stdout | stdout | | --info | -i | Show image metadata only | false |

Supported Terminals

| Terminal | ANSI Truecolor | Sixel | |----------|---------------|-------| | iTerm2 | ✅ | ✅ | | Windows Terminal | ✅ | ❌ | | macOS Terminal | ✅ | ❌ | | Konsole | ✅ | ✅ | | mlterm | ✅ | ✅ | | Foot | ✅ | ✅ | | Kitty | ✅ | ❌ (uses its own protocol) |

Demo

# See it in action
termimg --demo

License

MIT