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

shipressure-cli

v1.0.0

Published

Universal AI Context Compression CLI — compress documents, repos, and docs into AI-ready context

Readme

Shipressure ⚡

Universal AI Context Compression

Compress documents, repositories, documentation sites, and spreadsheets into highly compressed AI-ready context. One command. Zero cloud dependency. Optimized for AI coding agents.

npx shipressure ./api.pdf
npx shipressure ./docs/
npx shipressure https://github.com/user/repo

Vision

Instead of manually uploading files into Claude, Codex, Gemini, or OpenCode — provide a file path, directory, URL, or repository. Shipressure automatically reads content, extracts important information, removes noise, compresses context, and produces token-efficient plain text optimized for AI agents.

Installation

npm install -g shipressure-cli

Or run directly:

npx shipressure-cli@latest install

Usage

Files

shipressure ./api.pdf
shipressure ./document.docx
shipressure ./data.csv
shipressure ./presentation.pptx

Directories

shipressure ./docs/
shipressure ./src/

Documentation Websites

shipressure https://docs.api.nvidia.com
shipressure https://docs.example.com

GitHub Repositories

shipressure https://github.com/vercel/next.js
shipressure https://github.com/user/repo

Modes

| Mode | Flag | Use Case | |------|------|----------| | Balanced | (default) | General purpose | | Full | --full | Preserve everything | | Ultra | --ultra | Maximum compression |

Examples

shipressure file.pdf              # Balanced (default)
shipressure file.pdf --full       # Preserve everything
shipressure file.pdf --ultra      # Maximum compression

Supported Formats

  • Documents: PDF, DOCX, TXT, MD, RTF
  • Spreadsheets: XLSX, XLS, CSV, ODS
  • Presentations: PPTX, PPT
  • Codebases: JS, TS, Python, Rust, Solidity, Go (via GitHub)
  • Documentation: GitBook, Mintlify, Docusaurus, Readme, OpenAPI (via URL)

How It Works

User Input → Parser Engine → Normalizer → Compressor → Context Builder → AI Output
  1. Input Resolver — Detects input type (file, directory, URL, GitHub)
  2. Parser Engine — Extracts text from PDF, DOCX, XLSX, CSV, MD, PPTX
  3. Documentation Scraper — Crawls docs sites (GitBook, Mintlify, Docusaurus, Readme)
  4. GitHub Analyzer — Analyzes repos (README, structure, config, source files)
  5. Normalizer — Converts all content to standard format
  6. Compression Engine — Removes noise, deduplicates, condenses text
  7. Context Builder — Outputs compressed AI-optimized context

Output Format

[SHIPRESSURE]

PROJECT: NVIDIA NIM

AUTH
OAuth2 → token exchange
API Keys supported

ENDPOINTS
POST /chat/completions
GET /models

MODELS
Llama 3.3
DeepSeek R1

[/SHIPRESSURE]

// ⚡ ~350 tokens | 82% compression

Token Reduction

| Mode | Typical Reduction | |------|------------------| | Full | 0% (preserve) | | Balanced | 40-60% | | Ultra | 60-95% |

AI Agent Integration

Claude Code

/shipressure ./api.pdf

Codex

use shipressure ./api.pdf

OpenCode

use shipressure ./api.pdf

Cursor

use shipressure ./api.pdf

API Usage

import { shipressure } from 'shipressure-cli';

const result = await shipressure('./api.pdf', { mode: 'balanced' });
console.log(result.content);
console.log(`Compressed: ${result.context.tokenEstimate} tokens`);
console.log(`Reduction: ${result.context.compressionRatio}%`);

Project Structure

shipressure/
├── src/
│   ├── cli/              # CLI entry point
│   ├── parsers/          # File parsers (PDF, DOCX, XLSX, CSV, MD, PPTX)
│   ├── scrapers/         # Documentation & GitHub scrapers
│   ├── normalizers/      # Content normalization
│   ├── compressors/      # Token compression engine
│   ├── builders/         # Context builder
│   ├── resolvers/        # Input resolver
│   └── types/            # TypeScript types
├── skill.md              # AI agent skill manifest
├── package.json
└── README.md

Future Versions

  • v1 — Document compression
  • v2 — Repository intelligence
  • v3 — RAG generation
  • v4 — Vector embeddings
  • v5 — Knowledge graph generation

License

MIT