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

clipfix

v0.2.0

Published

Fix copy-pasted text from LLMs - convert fancy Unicode punctuation to plain ASCII

Readme

clipfix

Fix copy-pasted text from LLMs and the web -- instantly convert fancy Unicode punctuation to plain ASCII.

Installation

npm install -g clipfix

macOS only (ARM64 and Intel)

Two Modes

Soft mode (default) -- removes invisible/structural characters and AI-signature typographic characters (curly quotes ""'', em/en dashes ---, ellipsis ...). Arrows, math symbols, and guillemets are left untouched.

Hard mode (--hard) -- also replaces all remaining typographic Unicode with ASCII equivalents. Useful for terminal output, source code, or strictly ASCII pipelines.

Usage

Clipboard Mode

Copy text from anywhere, then:

clipfix --clipboard          # soft mode (default)
clipfix --hard --clipboard   # hard mode
# Fixed N characters

Pipe Mode

# Soft sanitize a file
cat email.md | clipfix > email-clean.md

# Hard sanitize — flatten all Unicode punctuation to ASCII
echo '"Hello — world"' | clipfix --hard
# Output: "Hello -- world"

# Fix a file
cat document.md | clipfix --hard > fixed.md

List All Replaced Characters

clipfix --list-replacements

Prints a full table of every character clipfix handles, grouped by soft/hard mode.

Command Reference

clipfix [OPTIONS]

Options:
  -S, --soft               Soft sanitize: remove only invisible/structural characters (default)
  -H, --hard               Hard sanitize: also replace typographic characters with ASCII equivalents
  -c, --clipboard          Read from and write to clipboard
  -l, --list-replacements  List all characters replaced by clipfix, grouped by mode
  -h, --help               Print help
  -V, --version            Print version

What Gets Fixed

Soft mode (default)

| Unicode | Becomes | Description | |---------|---------|-------------| | U+00A0 | (space) | Non-breaking space | | U+200B | (removed) | Zero-width space | | U+FEFF | (removed) | BOM marker | | U+200E/F | (removed) | Directional marks | | U+2018/19 | ' | Curly single quotes | | U+201C/D | " | Curly double quotes | | U+2014 | -- | Em dash | | U+2013 | - | En dash | | U+2026 | ... | Ellipsis |

Hard mode only

| Unicode | ASCII | Example | |---------|-------|---------| | (em dash) | -- | Hello—worldHello--world | | "" (smart quotes) | "" | "hello""hello" | | (arrow) | -> | step → nextstep -> next | | | != | x ≠ yx != y | | | ... | wait…wait... |

Plus 15+ more — run clipfix --list-replacements for the full list.

Why?

LLMs love fancy punctuation that breaks in terminals, code editors, and config files.

License

MIT