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

react-native-inspect

v0.1.0

Published

A powerful CLI tool for analyzing React Native projects, generating comprehensive reports with recommendations and analysis

Readme

React Native Inspect

A powerful CLI tool for analyzing React Native projects, generating comprehensive reports with recommendations and analysis. Get insights into your dependencies, security vulnerabilities, and React Native specific configurations with a beautiful, modern HTML report interface.

✨ Features

  • 📦 Advanced Dependency Analysis: Check for outdated packages, available updates, and major version changes
  • 🔒 Security Audit: Comprehensive vulnerability scanning with detailed reporting and severity levels
  • 📊 Modern HTML Reports: Beautiful, responsive reports with drawer-based navigation and interactive elements
  • ⚛️ React Native Specific Analysis: Architecture detection, version compatibility, and New Architecture status
  • 🔧 Multiple Package Manager Support: Seamless integration with npm, yarn, and pnpm
  • 📱 Mobile-First Design: Responsive report interface optimized for all devices
  • ⌨️ Keyboard Navigation: Quick navigation with keyboard shortcuts
  • 🎨 Modern UI/UX: Clean, professional interface with smooth animations and intuitive design

🎯 HTML Report Features

The generated HTML report includes a modern drawer-based interface with:

  • 📦 Dependencies Analysis (opens by default): Interactive table with outdated packages, update types, and NPM links
  • 🔒 Security Audit: Vulnerability breakdown with severity levels and detailed information
  • ⚛️ React Native: Architecture analysis, version compatibility, and configuration insights
  • 📊 Summary: Project health overview with actionable recommendations

Navigation & Interactions

  • Drawer Navigation: Clean sidebar with section indicators and badges
  • Mobile Responsive: Collapsible drawer with touch-friendly interface
  • Keyboard Shortcuts: Ctrl/Cmd + 1-4 to switch sections, Escape to close mobile drawer
  • Interactive Tables: Sortable columns with hover effects and external links
  • Real-time Indicators: Live status badges and progress indicators

🚀 Requirements

  • Bun runtime (v1.0.0 or higher)

📦 Installation

Install Bun (if not already installed)

curl -fsSL https://bun.sh/install | bash

Recommended: Global Installation

npm install -g react-native-inspect

One-time Usage

npx react-native-inspect

💻 Usage

Basic Analysis

# Analyze current directory
react-native-inspect

# Analyze specific project
react-native-inspect /path/to/project

What Happens During Analysis

  1. 🔍 Project Detection: Automatically detects package manager (npm/yarn/pnpm)
  2. 📦 Dependency Analysis: Scans for outdated packages and categorizes update types
  3. 🔒 Security Audit: Runs vulnerability scan using lockfiles
  4. ⚛️ React Native Analysis: Detects RN project and analyzes architecture
  5. 📊 Report Generation: Creates beautiful HTML report with all findings
  6. 🌐 Auto-Open: Automatically opens report in your default browser

Sample Output

🔍 React Native Inspect - Starting Analysis...
✓ All dependencies are up to date!
⚠ Security audit found 3 vulnerabilities (0 critical, 1 high)
✓ React Native New Architecture is enabled
✓ Report generated: /path/to/react-native-inspect-report.html
✓ Report opened in browser
✅ React Native Inspect completed successfully!

🏗️ Project Structure

src/
├── cli/                          # CLI interface and commands
│   ├── commands/                 # Command implementations
│   │   ├── analyze.ts           # Project analysis orchestration
│   │   └── report.ts            # Report generation and browser opening
│   └── index.ts                 # CLI entry point and workflow
├── core/                         # Core business logic
│   ├── analyzers/               # Analysis modules
│   │   ├── dependencies/        # Dependency and security analysis
│   │   ├── react-native/        # RN-specific analysis and architecture detection
│   │   └── security/            # Vulnerability scanning and audit
│   ├── report/                  # Report generation system
│   │   ├── generators/html/     # Modern HTML report generator
│   │   └── templates/           # HTML, CSS, and JS templates
│   │       ├── web/             # HTML template with drawer design
│   │       ├── styles/          # Modern CSS with responsive design
│   │       └── js/              # Interactive JavaScript features
│   └── project/                 # Project detection and parsing
├── utils/                       # Shared utilities
│   ├── logger.ts               # Enhanced logging with colors
│   └── spinner.ts              # Progress indicators and status
├── types/                       # TypeScript type definitions
└── tests/                      # Test suites

🗺️ Roadmap

✅ Completed

  • [x] Advanced package.json analysis with detailed outdated package detection
  • [x] Comprehensive security audit integration with severity categorization
  • [x] Modern HTML report generation with drawer-based navigation
  • [x] React Native version compatibility and New Architecture analysis
  • [x] Responsive design with mobile-first approach
  • [x] Interactive tables with sorting and external links
  • [x] Keyboard navigation and accessibility features
  • [x] Auto-browser opening and cross-platform support

🚧 In Progress

  • [ ] Packages replacement recommendation for better options
  • [ ] Peer dependency analysis and compatibility checking
  • [ ] Performance recommendations based on bundle analysis
  • [ ] Migration guides and helpful documentation links
  • [ ] JSON and Markdown report formats
  • [ ] CI/CD integration and automated reporting

🔮 Planned

  • [ ] Custom report themes and branding options
  • [ ] Plugin system for custom analyzers
  • [ ] Historical analysis and trend tracking
  • [ ] Team collaboration features
  • [ ] Integration with popular development tools

🛠️ Development

# Install dependencies
bun install

# Run in development mode
bun run dev

# Build for production
bun run build

# Run tests
bun test

🤝 Contributing

We welcome contributions! Whether it's bug reports, feature requests, or code contributions, please check out our contributing guidelines and feel free to submit pull requests.

📄 License

MIT License - see LICENSE file for details.