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

dazzer-cli

v0.3.4

Published

AI-readiness scanner with Smart Scanning - 95% performance improvement through GCS-based large file processing

Readme

Dazzer CLI - NPM Package

This is the NPM distribution package for the Dazzer CLI, an AI-readiness scanner that helps developers identify code patterns that confuse AI assistants.

Installation

npm install -g dazzer-cli

Or using yarn:

yarn global add dazzer-cli

Or using pnpm:

pnpm add -g dazzer-cli

What Gets Installed

This NPM package includes pre-compiled Dazzer CLI binaries for your platform. The binary is written in Go and includes all necessary dependencies, including advanced semantic AST processing with TypeScript support.

Supported platforms:

  • macOS (Intel and Apple Silicon)
  • Linux (x64 and ARM64)
  • Windows (x64 and x86)

Usage

After installation, the dazzer command will be available globally:

# Configure your access token (one-time setup)
dazzer init

# Scan a file or directory
dazzer scan ./my-project

# Get help
dazzer --help

How It Works

  1. Privacy First: Your source code never leaves your machine
  2. Local AST Generation: Dazzer converts your code to Abstract Syntax Trees locally
  3. Cloud Analysis: Only the AST structure is sent to our servers
  4. AI-Readiness Score: Get a score (0-100) with specific suggestions

Troubleshooting

Installation Issues

If installation fails, try:

  1. Clear NPM cache:

    npm cache clean --force
  2. Reinstall:

    npm uninstall -g dazzer-cli
    npm install -g dazzer-cli

Binary Not Found

If you get "command not found" after installation:

  1. Check NPM global bin directory is in your PATH:

    npm bin -g
  2. Add it to your PATH if needed:

    export PATH="$PATH:$(npm bin -g)"

Permission Errors

On macOS/Linux, if you get permission errors:

sudo npm install -g dazzer-cli

Or better, configure NPM to use a different directory:

npm config set prefix ~/.npm-global
export PATH="$PATH:~/.npm-global/bin"
npm install -g dazzer-cli

What's New in v0.2.0 🎉

Major AST Enhancement - Complete Semantic Analysis

  • ✅ Precise Locations: Fixed "line 0, col 0" issue - now shows exact line/column positions
  • ✅ Function Context: Fixed "function 'unknown'" issue - now shows actual function names
  • ✅ TypeScript Support: Full TypeScript (.ts), TSX (.tsx), and Node.js support added
  • ✅ Advanced Semantics: Function parameters, return types, and complexity metrics
  • ✅ Enhanced Languages: 7 languages supported (Python, JavaScript, Node.js, Go, Java, TypeScript, TSX)

Performance & Quality

  • 100% Backward Compatible: No breaking changes
  • Production-Ready: >90% test coverage with comprehensive validation
  • Optimized Processing: <1ms coordinate overhead, <10ms semantic processing

Before vs After

# BEFORE v0.1.1 (Broken)
🔴 Magic number 200 (line 0, col 0) in function 'unknown'

# AFTER v0.2.0 (Enhanced)
🔴 Magic number 200 (line 42, col 16) in function 'processPayment'
   Parameters: amount: number, currency?: string
   Return Type: Promise<boolean>
   Complexity: Cyclomatic=6, Nesting=11, Lines=20

Links

License

MIT © Dazzer

Technical Details

This NPM package is a wrapper that downloads platform-specific binaries. The actual CLI is written in Go and compiled for each platform. The binaries are hosted on Google Cloud Storage and downloaded during the NPM postinstall phase.

Binary locations:

  • Installed to: node_modules/dazzer-cli/bin/dazzer
  • Symlinked to: Global NPM bin directory