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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@alexlar/ascii

v0.0.1

Published

A lightweight command-line utility for quick ASCII table lookups

Readme

ASCII CLI Reference

A lightweight command-line utility for quick ASCII table lookups.

Features

  • Quick Lookups - Find characters by code or symbol in one command
  • Multiple Formats - Table, JSON, CSV, and Markdown output
  • Filtering - Filter by character type (printable, digits, uppercase, etc.)
  • Multi-base Support - Binary (0b), octal (0o), decimal, and hex (0x) inputs
  • Export - Save output to files

Installation

npm install -g @alexlar/ascii

Usage

Display full ASCII table

$ ascii

Show character range (supports numeric codes and characters)

$ ascii range 0 65

$ ascii range NUL A

$ ascii range 0 A

$ ascii range NUL 65

Lookup characters by symbol

$ ascii char A B C

Lookup by numeric code (supports binary, octal, decimal, hexadecimal)

$ ascii code 65 0x42 0o103 0b1000100

Search by description substring

$ ascii desc number

Number Prefixes

  • Binary: 0b<number> (e.g., 0b1100001)
  • Octal: 0o<number> (e.g., 0o141)
  • Decimal: <number> (e.g., 97)
  • Hexadecimal: 0x<number> (e.g., 0x61)

Character Prefix

Use c:, ch:, or char: prefixes to interpret digits as characters in ranges:

# range from code 0 to character '0' (code 48)
$ ascii range 0 c:0

Options

Filters

Root command only

  • -E, --escape - show escape characters
  • -C, --control - show control characters
  • -P, --printable - show printable characters
  • -D, --digits - show digits
  • -U, --uppercase - show uppercase letters
  • -L, --lowercase - show lowercase letters

Output Formats

  • -O, --output <file> - Write to file
  • -J, --json - JSON format
  • -S, --csv - CSV format
  • -M, --markdown - Markdown table

Display Options

  • -N, --no-sort - Disable sorting
  • -R, --reverse - Reverse order
  • -F, --colorful - Colorful output
  • -X, --no-color - No colors
  • -B, --no-border - No table borders

Examples

# Basic usage
ascii
ascii range 32 126
ascii char A a @
ascii code 65 0x41 0o101
ascii desc uppercase

# Advanced usage
ascii --printable --json
ascii range c:0 c:9 --output digits.txt
ascii --digits --no-border --no-color