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

yokel

v1.0.4

Published

Manage local NPM dependencies with automatic linking for streamlined development workflows

Downloads

9

Readme

yokel 📦

The missing support for local package development workflow! Manage local NPM dependencies with automatic linking for streamlined development workflows.

yokel simplifies working with local NPM packages during development by automating the npm link workflow and maintaining a localDependencies section in your package.json.

Features

  • 🔗 Automatic npm linking - Handles the entire npm link cycle automatically
  • 📝 package.json management - Maintains both dependencies and localDependencies sections
  • 🚀 Bulk operations - Install all local dependencies with a single command
  • 🎯 Simple CLI - Intuitive commands that mirror npm's interface
  • 🔄 Reversible - Easy unlinking of local dependencies
  • 📊 Dependency listing - View all your local dependencies at a glance

Installation

Install globally to use across all your projects:

npm install -g yokel

Usage

Install a Local Dependency

To add a local package as a dependency:

yokel install ../my-local-package
# or shorthand
yokel i ../my-local-package

This command will:

  1. Read the package.json from ../my-local-package
  2. Add the package to your dependencies with its current version
  3. Add the path and version to localDependencies
  4. Run npm link in the local package directory
  5. Run npm link <package-name> in your current directory

Install All Local Dependencies

When you have existing localDependencies in your package.json:

yokel install
# or shorthand
yokel i

This will link all packages listed in localDependencies.

List Local Dependencies

View all your local dependencies:

yokel list
# or shorthand
yokel ls

Unlink a Local Dependency

Remove a local dependency:

yokel unlink ../my-local-package
# or shorthand
yokel u ../my-local-package

package.json Structure

After installing a local dependency, your package.json will look like this:

{
  "name": "my-project",
  "version": "1.0.0",
  "dependencies": {
    "my-local-package": "^2.1.0"
  },
  "localDependencies": {
    "../my-local-package": "^2.1.0"
  }
}

Using with npm Scripts

You can integrate yokel into your npm scripts, particularly useful in postinstall:

{
  "scripts": {
    "postinstall": "yokel install",
    "dev:link": "yokel install",
    "dev:unlink": "yokel unlink ../my-local-package"
  }
}

Use Cases

Monorepo Development

Perfect for monorepo setups where packages depend on each other:

# In packages/app
yokel i ../shared-utils
yokel i ../ui-components

Library Development

Test your library in a real project before publishing:

# In your test project
yokel i ~/projects/my-awesome-library

Feature Development

Work on a dependency feature without publishing:

# Link the dependency you're modifying
yokel i ../node_modules/some-package-fork

How It Works

yokel automates the traditional npm link workflow:

Traditional Workflow:

cd ../my-local-package
npm link
cd -
npm link my-local-package
# Manually edit package.json

With yokel:

yokel i ../my-local-package
# Done! ✅

Advantages

  1. Persistence - Local dependencies are stored in package.json, making them shareable with your team
  2. Automation - The postinstall hook can automatically link dependencies after npm install
  3. Clarity - The localDependencies section clearly shows which packages are linked locally
  4. Version Tracking - Maintains version information for all local dependencies