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

reclaimspace

v0.1.4

Published

A CLI tool to reclaim disk space by finding and removing unnecessary development folders and files.

Readme

ReclaimSpace CLI

A CLI tool to reclaim disk space by finding and removing unnecessary development folders and files.

It behaves like npx npkill, but goes further by detecting multiple categories of heavy folders/files and providing a navigable, grouped CLI interface.

Usage

Here are some common ways to use reclaimspace:

To interactively select and delete items (default):

This is the default behavior. It lists all the folders, and you can select which ones to delete.

npx reclaimspace

To directly delete everything (auto-delete):

This will find all reclaimable items and delete them automatically without confirmation.

npx reclaimspace --yes

To see what would be deleted (dry run):

This will list all the items that can be deleted but won't actually delete anything.

npx reclaimspace --dry

To run in a specific folder:

You can specify one or more directories to scan.

npx reclaimspace <foldername>

To combine flags and folders:

You can combine any of the flags with a specific folder. For example, to auto-delete all items in the my-project directory:

npx reclaimspace --yes my-project

To enable build analysis:

This will enable build analysis logs.

npx reclaimspace --build-analysis

To ignore certain folders:

You can exclude folders from the scan by providing a comma-separated list of patterns.

npx reclaimspace --ignore "node_modules,dist"

To include only specific folders:

You can specify a comma-separated list of patterns to include in the scan. When this flag is used, only folders matching these patterns will be considered, overriding the default detected items.

npx reclaimspace --include "my-custom-build,temp-files"

Configuration

You can create a .reclaimspacerc file in the root of your project to specify folders and patterns to ignore. This is useful for excluding project-specific build folders or other directories that you don't want to be scanned.

Example .reclaimspacerc file:

# Ignore all node_modules folders
node_modules

# Ignore a specific build folder
my-project/dist

Features

  • Interactive Deletion: Navigate through a list of found items using arrow keys and press Enter to delete.
  • Categorized & Grouped: Results are grouped by type (Node Modules, Build Folders, etc.) for clarity.
  • Size Information: See the size of each item and the total reclaimable space.
  • Concurrent Scanning: ReclaimSpace uses a concurrent scanner to quickly find and process files.
  • Build Artifact Detection: It intelligently detects build folders by looking for common build artifacts.
  • Auto-Delete Mode: Use the --yes flag to delete all found items without confirmation.
  • Dry Run Mode: Use the --dry flag to see what would be deleted without actually deleting anything.
  • Ignore Patterns: Exclude specific folders or patterns using a .reclaimspacerc file or the --ignore flag.
  • Cool Logo: Displays a cool logo when you run the tool.

Detected Items

reclaimspace detects the following categories:

  1. Node Modules
    • node_modules
  2. Build/Cache Folders
    • .next, dist, build, storybook-static, .nuxt, .svelte-kit, .angular, out, .expo, .turbo, .cache
  3. Testing/Reporting Folders
    • coverage, .nyc_output

Contributing

Contributions are welcome! Please read our contributing guidelines to get started.

License

This project is licensed under the ISC License. See the LICENSE file for details.