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

@qmahyar/cf-scanner

v0.13.0

Published

Find working Cloudflare endpoints on restricted networks

Readme

@qmahyar/cf-scanner

Find working Cloudflare endpoints on restricted networks.

This package downloads a prebuilt binary from GitHub Releases during npm install.

Install

npm install -g @qmahyar/cf-scanner

Usage

# CDN/proxy scan
cf-scanner scan --mode cdn --preset quick

# WARP scan
cf-scanner scan --mode warp --count 100

# Export results (csv, json, base64, raw, singbox, clash)
cf-scanner scan --mode cdn --preset quick --export results.csv

Supported Platforms

| OS | Arch | Status | |----|------|--------| | Linux | x64 | ✅ Supported | | Linux | arm64 | ✅ Supported | | Windows | x64 | ✅ Supported | | macOS | any | ❌ Not supported (unsigned binaries) |

How it works

On npm install, the postinstall script detects your OS and architecture, then downloads the correct prebuilt archive from the GitHub release for the current version and unpacks the binary (plus its bundled xray helper) into bin/. npm links the bin/cf-scanner.js wrapper (a small Node launcher that spawns the platform binary — cf-scanner.exe on Windows) into node_modules/.bin/, which npm adds to your PATH when you install globally.

The npm version and the GitHub release tag can differ: install.js pins the download tag separately (RELEASE_TAG), so the wrapper can be patched without a new binary release.

Manual Installation

If the automatic download fails, you can install manually from the Releases page.

Skip Binary Download

Set CF_SCANNER_SKIP_INSTALL=1 to skip the binary download during install.

License

MIT