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

sealevel-insight

v0.8.2

Published

Local, deterministic architecture and code-metrics CLI for Solana programs.

Readme

Sealevel Insight CLI

Sealevel Insight is a local, deterministic architecture and code-metrics CLI for Solana programs. It turns an unfamiliar repository into an evidence-backed map of programs, instructions, functions, accounts, state, CPIs, PDAs, dependencies, token and asset flows, and review scope.

The CLI understands Anchor, native Rust, Pinocchio, Steel, Quasar, custom Rust, Solang Solidity, and hand-written sBPF assembly. It does not execute the analyzed program, upload source code, contact Solana RPC, use telemetry, or invoke AI services.

Install

npm install --global sealevel-insight
sealevel-insight analyze . --format json --output report.json

For a one-off run:

npx sealevel-insight analyze . --format markdown --output report.md

Node.js 18 or newer is required. npm or npx may access the registry to obtain the package; analysis after installation is local and offline, with all parser grammars shipped in the package.

Commands

sealevel-insight analyze [root] [options]
sealevel-insight scope [root] [options]
sealevel-insight diff <before.json> <after.json> [--format json|markdown|html]
sealevel-insight baseline save [root] [--output baseline.json]
sealevel-insight cache clear [root]

Useful options include --enable-idl, --cargo-metadata, --target, repeated --cfg, --cfg-complete, --no-cache, --format, and --output.

Exit codes are stable for scripting: 0 means success, 1 means an analysis/configuration failure, and 2 means a configured quality policy failed.

Reports

Reports are available as JSON, Markdown, or standalone HTML. They include metrics, program and package structure, instruction reachability, deterministic function/call paths, account and state relationships, CPIs, PDA signing, token/asset-flow evidence, IDL reconciliation, semantic coverage, review complexity, and explicit unresolved conditions. Review signals are not vulnerability findings or a security verdict.

Cargo workspaces

The analyzer reads Cargo manifests without running Cargo. For reproducible CI, provide saved metadata:

cargo metadata --format-version 1 --locked --offline > cargo-metadata.json
sealevel-insight analyze . --cargo-metadata cargo-metadata.json --no-cache

The repository also contains an optional Cargo launcher around this same bundled Node.js/WASM engine. It is a thin launcher, not a native Rust rewrite, and requires Node.js 18 or newer. Install it with Cargo when the crate is available in your registry:

cargo install sealevel-insight
sealevel-insight analyze . --format markdown --output report.md

Publishing (maintainers)

The source repository also contains the VS Code extension, so its root manifest is private. The public CLI is generated and validated separately:

npm run package:cli
npm run test:cli-package
npm publish ./dist-cli-package --access public

Publish only the generated dist-cli-package/ directory. The package includes DISCLOSURE, dependency notices, and no development dependencies.

Privacy and safety

Normal execution reads the selected local files and writes the requested report/cache. It does not upload source code, access wallets or private keys, call Solana RPC, collect telemetry, invoke AI APIs, or execute the analyzed program.

See the repository SECURITY.md, SUPPORT.md, and THIRD_PARTY_NOTICES.md for reporting and dependency information.