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

@sparkle-security/sparkle-cli

v0.1.0

Published

Sparkle Guardrails CLI (login, setup, hooks handler)

Readme

Sparkle Code CLI – Security Guardrails for AI-assisted coding

Command-line tool for Sparkle Guardrails — security and compliance guardrails directly injected into AI-assisted coding, where code is actually written.

The CLI authenticates with Sparkle, configures your AI coding tools, and runs as a hook handler so guardrails are applied on every prompt and tool use.

Why developers 💜 Sparkle Security

  • No time-consuming rework: Sparkle stops risky AI-generated code at the moment it's written — before it becomes a PR comment, a scanner alert, or a 2am Slack message.
  • Keep the tools and processes that already work for you: Sparkle embeds silently into your AI coding tools, so you keep the same flow and speed with no re-setup exercise.
  • Security & compliance from day 1: Bake in standards like OWASP, plus custom org policies, from the very first commit.

Install

npm (requires Node.js 20+):

npm install -g @sparkle-security/sparkle-cli

Quick start

sparkle login          # Sign in (opens your browser)
sparkle setup          # Configure all supported ides
sparkle status         # Check login and setup state

To configure a specific tool:

sparkle setup --ide cursor

What it does

  • sparkle login — Authenticate with Sparkle via browser OAuth and store your session locally.
  • sparkle setup — Wire up supported tools with the Sparkle MCP server, IDE hooks, and guardrail rules. Auto-detects installed tools, or target one with --ide.
  • sparkle status — Show whether you are logged in and which tools are configured.
  • sparkle logout — Sign out machine-wide, or remove config for one tool with --ide.
  • sparkle-hooks — Hook handler invoked by your IDE on prompts, MCP calls, file edits, and session events. Runs silently as a telemetry sidecar; installed and wired up for you by sparkle setup.

Shared state lives under ~/.sparkle/.

Supported IDEs

| Tool | --ide value | | --- | --- | | Cursor | cursor | | Claude Code | claudeCode | | Windsurf | windsurf | | Codex CLI | codex |

You can also use the Sparkle Guardrails extension for VS Code, Cursor, and Windsurf — it bundles this CLI and delegates setup to it.

Docs & sign up

Requirements

  • Node.js 20+ (npm install only)
  • A Sparkle account (free sign-up)

License

Proprietary — see thesparkle.ai for terms.