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

node-linker-pro

v0.2.8

Published

Keep node_modules out of cloud sync folders by linking them to a local cache. Cross-platform. Includes global npm setup command.

Readme

node-linker-pro

npm version npm downloads License: MIT

💾 Keep node_modules out of cloud sync folders by linking them to a local cache.
Cross-platform: macOS, Linux, and Windows.
📦 One-step global command: npm setup.


Why this exists

If your projects live in cloud-synced folders like Google Drive, OneDrive, Dropbox, or iCloud, you’ve likely seen these problems:

❌ Slow syncs — node_modules can be hundreds of MBs.
❌ Wasted storage — dependencies don’t need to be backed up.
❌ CPU/bandwidth drain while coding.

✅ Save cloud storage space.
✅ Faster project syncs.
✅ No changes to your workflow.


The solution

node-linker-pro moves your node_modules to a local cache folder outside
cloud sync, then creates a link back so your project works exactly the same.

Before

/Google Drive/MyProject
  package.json
  node_modules/   ← huge folder synced to the cloud

After

/Google Drive/MyProject
  package.json
  node_modules → /Users/you/Library/Caches/node_modules_store/<hash>

ℹ️ <hash> is a unique folder name based on your project path, ensuring no conflicts between different projects.


Features

  • 💾 Save cloud storage space.
  • ⚡ Faster project syncs.
  • 🌍 Cross-platform: macOS, Linux, Windows.
  • 📦 Works with npm, Yarn, and pnpm.
  • 🔄 Auto-installs missing dependencies.
  • 🛠 No changes to your package.json.

Installation

Install globally once:

npm i -g node-linker-pro

Usage

From any project folder:

npm setup

This will:

  1. Move node_modules to the cache folder.
  2. Create a symlink (mac/Linux) or junction (Windows).
  3. Install dependencies if the cache is empty.

If your npm version doesn’t support npm setup:

npm-setup

Cache locations

| OS | Default cache path | | ------- | ------------------------------------------------ | | macOS | ~/Library/Caches/node_modules_store | | Linux | ~/.cache/node_modules_store | | Windows | %LOCALAPPDATA%\Temp\node_modules_cache |

Custom path:

# mac/Linux
EXTERNAL_NODE_MODULES_DIR="/path/to/cache" npm setup
# Windows PowerShell
$env:EXTERNAL_NODE_MODULES_DIR="D:\path\to\cache"; npm setup

When to use it

✅ You keep projects in Google Drive, OneDrive, Dropbox, or iCloud.
✅ You want a cross-platform, cloud-safe workflow.
✅ You switch between multiple OSes and don’t want to re-download dependencies.


When not to use it

❌ CI/CD pipelines (use npm ci instead).
❌ Highly isolated builds requiring separate installs for security.


FAQ

Will it break my project?
No. Your tools see node_modules normally.

What if the cache is deleted?
Run npm setup again — dependencies will reinstall.

Does it require admin rights on Windows?
No, if Developer Mode is enabled. Otherwise, Windows may ask.


License

MIT — Free to use, modify, and share.