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

vscode-cleaner

v1.0.2

Published

Clean VS Code workspace storage files

Readme

VS Code Cleaner

A tool to clean VS Code workspace storage folders. Finds unused workspaces, shows their sizes, and lets you select and delete them.

Installation

npm install -g vscode-cleaner

or

pnpm add -g vscode-cleaner

Quick Start

Without installing:

npx vscode-cleaner

With installation:

vscode-cleaner

Flags

--only <types>

Filter workspaces by type. Multiple types can be specified with comma separation.

| Type | Description | | ----------- | ----------------------------------------------- | | deleted | Workspaces whose target folder no longer exists | | remote | Remote container workspaces | | duplicate | Workspaces sharing the same target path |

vscode-cleaner --only deleted        # only deleted
vscode-cleaner --only remote         # only remote
vscode-cleaner --only duplicate      # only duplicate
vscode-cleaner --only deleted,remote # deleted + remote

--filter <text>

Search by workspace name or UUID. Case-insensitive partial match.

vscode-cleaner --filter api-server  # name contains "api-server"
vscode-cleaner --filter 04ddb8ba    # UUID starts with "04ddb8ba"

--age <duration>

Filter workspaces by age. Syntax: <number><unit>

| Unit | Description | | ---- | ----------- | | d | Day | | w | Week | | m | Month | | y | Year |

vscode-cleaner --age 1d    # older than 1 day
vscode-cleaner --age 1w    # older than 1 week
vscode-cleaner --age 1m    # older than 1 month
vscode-cleaner --age 1y    # older than 1 year

--sort <field>

Sort workspaces by field. Default: date

| Field | Description | | ------ | ------------ | | date | Newest first | | age | Oldest first |

vscode-cleaner --sort date    # default
vscode-cleaner --sort age     # oldest first

Combining Flags

Flags can be combined:

vscode-cleaner --only deleted --age 1y
vscode-cleaner --only remote,duplicate --sort age
vscode-cleaner --filter api-server --only deleted
vscode-cleaner --only deleted,remote,duplicate --age 6m --sort age

UI View

Workspace list shows size, date, UUID and name:

  245.5 MB 5mo  04ddb8ba my-project (deleted)
  201.8 MB 4mo  8dfedab3 experiment (deleted)
  192.1 KB 1y  66105b82 api-server (remote)

Labels

| Label | Meaning | | ------------- | --------------------------------------------- | | (deleted) | Target folder no longer exists | | (remote) | VS Code remote container | | (duplicate) | Another workspace shares the same target path |

Selection and Deletion

  1. Press Space to select workspaces
  2. Press Enter to confirm
  3. Press a to select all
  4. Press i to invert selection

Shortcuts

| Shortcut | Action | | -------- | ----------------- | | Space | Select / Deselect | | a | Select all | | i | Invert selection | | Enter | Confirm | | ↑↓ | Navigate |