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

local-pm

v1.0.3

Published

Local Package Manager - Install npm packages from your local system cache

Downloads

7

Readme

LocalPM (LPM) - The Offline-First Package Manager 🚀

LocalPM is a smart package manager that prioritizes installing npm packages from your local system cache before falling back to online sources. This can significantly speed up package installation and enable offline development when possible.

Features ✨

  • 🔍 Scans your system for existing npm packages
  • 📦 Reuses packages from your local cache
  • 🌐 Falls back to online installation when needed
  • ⚡ Faster installations by avoiding redundant downloads
  • 🔄 Compatible with npm, yarn, and pnpm
  • 💻 Cross-platform support (Windows, macOS, Linux)

Installation 🛠️

You can install LocalPM globally:

npm install -g lpm

Or use it directly with npx:

npx lpm [packages...]

Usage 📚

Basic Usage

# Install specific packages
lpm [email protected] react-dom

# Install all dependencies from package.json
lpm

# Install using a specific package manager
lpm express --package-manager yarn

# Install from a specific directory
lpm lodash --root-path /path/to/projects

Command Line Options

Options:
  --root-path, -r       Custom root directory to scan for packages
  --package-manager, -p  Package manager to use (npm, yarn, pnpm) [default: "npm"]
  --help                Show help information
  --version             Show version number

How It Works 🔄

  1. When you request to install a package, LocalPM first scans your system for existing installations
  2. If found in the local cache, it copies the package directly to your project
  3. If not found locally, it falls back to the specified package manager (npm/yarn/pnpm)
  4. Updates your package.json automatically with the installed dependencies

Benefits 💪

  • Faster Installations: Reuse existing packages instead of downloading them again
  • Offline Support: Install packages without internet if they exist in your local cache
  • Bandwidth Saving: Minimize redundant downloads across projects
  • Package Manager Agnostic: Works with npm, yarn, and pnpm
  • Version Specific: Support for installing specific package versions

Requirements 📋

  • Node.js >= 14.16
  • npm, yarn, or pnpm installed globally

Common Use Cases 🎯

# Install multiple packages
lpm express mongoose dotenv

# Install specific versions
lpm [email protected] [email protected]

# Use with yarn
lpm --package-manager yarn next typescript

# Scan specific directory
lpm --root-path ~/projects express

Troubleshooting 🔧

  • If a package isn't found locally, LocalPM will automatically fall back to online installation
  • Use --root-path to specify a different directory to scan for packages
  • Make sure you have the necessary permissions to read the system directories

Contributing 🤝

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

License 📄

MIT License - feel free to use this in your own projects!

Support 💬

If you encounter any issues or have questions:

  • Open an issue on GitHub
  • Check the documentation
  • Submit a pull request with improvements

Acknowledgments 🙏

Thanks to all the contributors and the npm/yarn/pnpm teams for their amazing work!