voidcosmos / voidcosmos/npkill

Performance Improvement

Open
#121 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9.4k
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Deleting monorepo packages is pretty slow - it would be nice if there was a divide and concur flag that I could set.

Describe the solution you'd like
When hitting space and start deleting a directory, parse the files,folders and group them into smaller array sets like 50 packages per array, then pass this to a worker or something to execute FS deletes in parallel

Describe alternatives you've considered
None at this point

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CLI path used after pressing Space to delete selected directories, then inspect how files and folders are currently removed. Define the flag and deletion behavior described in the issue, including grouped work and parallel execution, and verify that deleting selected packages completes correctly and improves performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
cli, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.