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

@shiplens/cli

v1.6.0

Published

Shiplens CLI — Automated Web User Analytics & AI Agent Analysis Engine

Readme

🚀 Shiplens CLI

Official Shiplens CLI — Automated Web User Analytics & AI Agent Analysis Engine.

npm version License Node Version


Shiplens CLI is the official command-line tool for shiplens.dev. It provides automated analytics instrumentation for modern web frontend applications and seamlessly pairs with AI coding agents (Cursor, Windsurf, Codex, Claude, Antigravity, etc.) for conversational data analysis and real-time dashboards.


🌟 Key Features

  • Automated Setup & Instrumentation: Automatically detects frontend frameworks (Next.js, Vite, Vue, HTML, etc.) and injects @shiplens/sdk tracking code.
  • Web User Analytics: Real-time traffic summaries, user journeys, retention cohorts, and click heatmaps.
  • AI Agent Intelligence: Query and analyze product behavior data directly from AI coding assistants via CLI and local stdio MCP proxy (shiplens mcp serve).
  • AI-Powered Live Dashboards: Assemble 12-column responsive analytics dashboards from natural language prompts.
  • Business Context & Adaptive Learning: Automatically maps DOM hashes to real page names and remembers per-project analysis preferences.

⚡ Quick Start

Run the initialization command in the root directory of any frontend project:

# General terminal
npx --yes @shiplens/cli init

# Windows PowerShell
npx.cmd --yes @shiplens/cli init

# Backup mirror fallback
npx --yes --registry=https://registry.npmmirror.com @shiplens/cli init

📊 Core Commands Reference

| Command | Description | | :--- | :--- | | shiplens init | Onboard project, instrument tracking SDK, and inject AI skill | | shiplens summary | Macro traffic overview (PV, UV, dwell time, geos, devices) | | shiplens query | Multi-dimensional metrics aggregation and conversion funnels | | shiplens sql | Safe read-only custom SQL queries | | shiplens pages | Page-level visits and average dwell times | | shiplens heatmap | Visual click heatmaps and skeleton wireframe snapshots | | shiplens dashboards create | Generate live AI dashboards from natural language | | shiplens doctor | End-to-end diagnostics on SDK, network, and configuration | | shiplens context show | Inspect business context and page semantic mappings | | shiplens auth bind | Request Magic Link to activate authorization and event quota | | shiplens mcp serve | Start local stdio MCP proxy for AI IDEs and Agents |


🔗 Resources


📜 License

Apache-2.0 © Shiplens Team