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

dep-insight-cli

v1.0.2

Published

A powerful CLI tool for managing npm packages, checking dependencies, analyzing sizes, and ensuring license compliance.

Readme

dep-insight-cli

A powerful CLI tool for managing npm packages, checking dependencies, analyzing sizes, and ensuring license compliance.

Features

  • Package Analysis: Deep insights into package sizes, dependencies, and structure
  • Dependency Management: Track and analyze your project's dependencies
  • License Compliance: Check and verify package licenses
  • Size Analysis: Analyze package sizes and their impact
  • Script Management: List and manage npm scripts

Installation

npm install -g dep-insight-cli

Quick Start

You can use either dep (shorter) or dep-insight (full name) as the command:

# Using dep (shorter)
dep analyze express
dep size react
dep tree next

# Using dep-insight (full name)
dep-insight analyze express
dep-insight size react
dep-insight tree next

Available Commands

Package Analysis

dep analyze [package]     # Analyze a package's structure and dependencies
dep size [package]        # Check package size and dependencies
dep info [package]        # Show detailed package information

Dependency Management

dep deps [package]        # List and analyze dependencies
dep tree [package]        # Display dependency tree
dep graph [package]       # Generate dependency graph visualization
dep outdated [package]    # Check for outdated dependencies

Security & Compliance

dep audit [package]       # Run security audit
dep licenses [package]    # Check licenses of package and its dependencies

Statistics & Comparison

dep stats [package]       # Show download statistics and trends
dep compare <pkg1> <pkg2> # Compare two packages

Script Management

dep scripts [package]     # List and manage npm scripts

Version Management

  • Package Compatibility: dep check [package]

    • Project-wide analysis (when no package specified):
      • Check all dependencies for compatibility
      • Identify outdated packages
      • Detect incompatible versions
      • Auto-fix capability
    • Single package analysis:
      • Node.js version compatibility
      • npm version compatibility
      • Framework compatibility (React, Angular, Vue)
      • Peer dependencies check
      • Package size and download stats
    • Interactive installation
    # Check all project dependencies
    dep check
    
    # Check with auto-fix option
    dep check --fix
    
    # Deep analysis including dev dependencies
    dep check -d
    
    # Check specific package
    dep check express
    
    # Check specific version
    dep check react -v 16.8.0
    
    # Get JSON output
    dep check vue --json
    
    # Non-interactive mode
    dep check lodash --no-interactive

Options

Most commands support the following options:

--json                  # Output in JSON format
--depth <number>        # Specify dependency tree depth
--dev                   # Include devDependencies
--prod                  # Include only dependencies
--format <format>       # Output format (table/json/tree)

Examples

Analyze a Package

dep analyze express

Check Package Size

dep size react --format table

View Dependency Tree

dep tree next --depth 2

Compare Two Packages

dep compare react vue

Check Package Licenses

dep licenses express --json

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT Hiren Vaishnav,