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

clearpass

v4.3.7

Published

Crawl websites or Google Slides and save as PNG, JPEG, PPTX, DOCX, PDF, or MHTML with visual stability detection and TUI.

Readme

clearpass

Crawl a website — or a published presentation deck — and save what you find as PNG, JPEG, PPTX, DOCX, PDF, or interactive MHTML archives. Includes a beautiful TUI (Terminal UI) for ease of use.

Install

npm install -g clearpass

Features

  • Universal Auto-Detect: Simply paste a URL. The engine will automatically detect if it's a website or a presentation (Google Slides, Canva, Pitch, SlideShare, etc.) and engage the correct crawler automatically!
  • TUI & CLI: Drop into an interactive shell by running clearpass, or use it strictly as a CLI tool.
  • Universal Presentation Crawler: Captures generic presentations using smart visual hashing to detect slide changes.
  • Google Slides Native Interactivity: Intercepts Google Slides and downloads perfect PDFs with 100% interactivity, falling back to the visual crawler automatically if the native export fails or takes longer than 4 seconds.
  • Reconstructed Interactivity: The visual crawler automatically extracts hyperlink coordinates from presentation slides and injects them as clickable links into your final PDFs and PPTXs.
  • Intelligent Naming System: Your output files will be given extremely short, readable, and 100% unique names (e.g., canva-4f8a.pdf), completely preventing accidental overwriting.
  • Visual Stability Engine: It doesn't blindly screenshot. It compares image hashes to ensure animations and lazy-loaded elements are finished rendering.
  • Smart Security Bypass: Detects Cloudflare and reCAPTCHA. New: It now actively waits for Cloudflare's "Just a moment..." challenges to automatically resolve instead of blindly snapshotting the security clearance screen!
  • Safe Interrupts: Press Ctrl+Q at any time to safely abort a crawl without losing the progress you've already made!

Interactive Shell (TUI)

Run the tool with no arguments to enter the shell:

clearpass

Commands & Auto-Detect

If you simply type or paste a URL (e.g., https://example.com), the engine will auto-detect the type of content and capture it appropriately.

The explicit commands are still there so you can override the auto-detection if it guesses wrong, or if you want to perform a specific action:

  • /snap <url> (Force Screenshots): Use this if the engine accidentally detects a website as a presentation and you want to force it to just take raw screenshots of the page.
  • /scrape <url> (Extract Text): Auto-detect never scrapes text by default. If you want to extract the raw markdown text from a webpage instead of taking images, you must explicitly use this command. Note: Scraping strictly outputs to PDF, DOCX, or MHTML formats only. If another format is set, it will safely override to PDF.
  • /slides <url> (Force Presentation): Use this if you have a presentation link from a niche platform that the engine doesn't recognize (not Canva, Pitch, etc.). This forces the engine to use the Presentation Crawler logic.
  • /bulk: Enter bulk-URL mode (paste multiple URLs, hit enter on an empty line to finish).
  • /format <fmt>: Set default output format (png, jpeg, pptx, docx, pdf, mhtml).
  • /max <number>: Set max pages/slides (default 300).
  • /out [dir]: Set output folder. Leave [dir] blank to open a native OS folder picker!
  • ? or /help: Show all commands.
  • q or /quit: Exit.

CLI Usage

clearpass -u https://example.com -o ./out -f pdf

CLI Options

  • -u, --url <url>: The starting URL to crawl.
  • -o, --out <dir>: The directory to save the output files.
  • -f, --format <format>: Format for output (png, jpeg, pptx, docx, pdf, mhtml).
  • -m, --max <number>: Max pages to crawl.
  • -d, --depth <number>: Max link depth for website crawls.
  • --scrape: Extract text instead of taking screenshots.
  • --slides: Treat as a generic presentation (Canva, Pitch, etc.).
  • --all-domains: Follow links to other domains (default: same-domain only).