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

lavina

v1.0.12

Published

Lavina is an automated dependency propagation tool designed to scan microservice architectures and build dependency graphs between internal projects.

Readme

Lavina

Lavina is a dependency management and visualization tool for microservice and multi-project architectures.

The project consists of two parts:

  • CLI application – scans projects, discovers internal dependencies and generates a dependency graph.
  • Web UI – interactive visualization and dependency management interface built with Next.js.

The goal of Lavina is to help developers understand, maintain and propagate dependency changes across large systems containing multiple applications, libraries and shared components.


Features

Dependency Discovery

  • Scans directories recursively
  • Detects JavaScript and PHP projects
  • Reads:
    • package.json
    • composer.json
  • Maps relationships between internal projects
  • Generates a dependency graph

Dependency Classification

Projects are automatically categorized as:

  • Application
  • Library
  • Standalone

Visualization

Lavina provides a web interface for:

  • Browsing dependencies
  • Filtering projects
  • Visualizing dependency graphs
  • Exploring dependency chains
  • Managing version updates

Multi-language Support

Supported project types:

  • JavaScript / Node.js
  • PHP / Composer

Architecture

lavina/
│
├── cli.js                    # CLI entry point
├── src/                      # CLI implementation
│
└── lavina-ui/                # Next.js UI
    ├── src/app
    ├── src/components
    └── src/lib

CLI

Built with:

  • Node.js
  • Commander.js
  • Chalk

Responsible for:

  • Project discovery
  • Dependency mapping
  • Dependency export

Web UI

Built with:

  • Next.js 16
  • React 19
  • React Flow
  • TanStack Table

The UI reads dependency data generated by the CLI and presents it in an interactive format.


Installation

Global Installation

npm install -g lavina

Verify installation:

lavina --version

Usage

Scan Dependencies

Run from the root directory containing your projects:

lavina scan

Verbose mode:

lavina scan --verbose

Output:

.lavina/deps.json

Open Web UI

lavina ui

This starts the bundled Next.js standalone server and opens:

http://localhost:3000

Generated Output

Lavina stores dependency information inside:

.lavina/deps.json

Example:

{
  "displayName": "rp-auth (js)",
  "version": "5.29.0",
  "category": "library",
  "projectDependencies": {
    "rp-utils (js)": "^1.5.2"
  }
}

Project Categories

Library

Used by other internal projects.

Application

Depends on internal projects but is not consumed by others.

Standalone

Has no internal dependencies and is not depended upon.


Development

Link CLI Locally

From the project root:

npm link

or

npm run dev

This makes the local version available globally as:

lavina

Run UI in Development

Navigate to:

cd lavina-ui

Install dependencies:

npm install

Start development server:

npm run dev

Build production version:

npm run build

Publishing

Build the UI:

cd lavina-ui
npm run build

Return to the project root:

cd ..

Publish package:

npm publish

Supported Dependency Sources

JavaScript

{
  "dependencies": {},
  "peerDependencies": {}
}

PHP

{
  "require": {}
}

Future Development

Planned features:

  • Additional package manager support
  • Additional dependency file formats
  • Custom version bumping rules

Author

Elena Kikiova

Master's Degree Project

Dependency management and visualization for microservice architectures.