{"full_name":"voidcosmos/npkill","owner":"voidcosmos","name":"npkill","shard":"1","url":"https://github.com/voidcosmos/npkill","description":"Easily find and remove old and heavy node_modules 📦, artifacts, caches and dev leftovers 🧹","homepage":"https://npkill.js.org","topics":["cli","javascript","build-artifacts","cleaner","cleanup","cli-tool","command-line-tool","developer-tool","disk-cleanup","free-up-space","node-js","node-modules","tui","typescrip"],"tag_pages":["cleaner","cleanup","cli","cli-tool","command-line-tool","developer-tool","disk-cleanup","javascript","node-js","tui"],"language":"TypeScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/53867405?v=4","created_at":"2019-06-30T12:26:26Z","pushed_at":"2026-11-12T12:23:41Z","metrics":{"stars":9517,"forks":264,"watchers":39,"issues":123,"prs":155,"releases":33,"issues_open":11,"issues_closed":112,"prs_open":1,"prs_closed":43,"prs_merged":111,"discussions":3},"growth":{"day":{"stars":4,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[9502,9503,9506,9508,9512,9513,9517],"forks":[264,263,263,263,263,264,264],"watchers":[null,39,39,39,39,39,39],"issues_open":[null,11,11,11,11,11,11],"prs_open":[null,0,0,0,0,1,1]},"boards":{},"same_owner":[],"issues":[{"number":188,"title":"allow deletion without using TUI","comments":8,"created_at":"2024-07-16T16:00:27Z"},{"number":172,"title":"delete is too slow","comments":7,"created_at":"2023-10-25T16:50:12Z"},{"number":186,"title":"Desktop app?","comments":5,"created_at":"2024-07-01T04:38:33Z"},{"number":220,"title":"Add support for managing `node_modules/.ignored` folders separately in npkill","comments":1,"created_at":"2025-09-16T21:49:18Z"},{"number":199,"title":"npkill doesnt show node_modules in nested routes","comments":1,"created_at":"2025-07-13T03:42:16Z"},{"number":121,"title":"Performance Improvement","comments":1,"created_at":"2022-03-22T19:56:13Z"},{"number":278,"title":"Mutation tests: switch Stryker to its Jest runner (timeouts make the score read 100%)","comments":0,"created_at":"2026-11-03T00:15:11Z"},{"number":263,"title":"It does not run on Git bash console over Windows","comments":0,"created_at":"2026-08-07T20:08:00Z"}],"discussions":[{"number":283,"title":"You made my day today :)","comments":0,"category":"Show and tell","created_at":"2026-11-15T16:44:17Z"},{"number":270,"title":"Optional maintainer trial: regression testing one npkill workflow","comments":0,"category":"Show and tell","created_at":"2026-09-26T06:04:37Z"},{"number":206,"title":"Proposal: Extend npkill beyond node_modules with developer profiles","comments":1,"category":"Ideas","created_at":"2025-07-29T10:50:17Z"}],"latest_release":{"name":"v1.0 - Because the problem is modern development.","tag":"v1.0.0","published_at":"2026-11-12T12:25:53Z","body":"<img width=\"1920\" height=\"1080\" alt=\"npkill 1.0.0 cover\" src=\"https://github.com/user-attachments/assets/0b74b76b-ac8d-4695-9bdb-8fac2ec32d8d\" />\r\n\r\n\r\nnpkill started in 2019 as a small script to hunt `node_modules`. Six years later, `node_modules` is only part of what piles up on a dev machine. Every framework and language leaves its own build outputs and caches behind.\r\n\r\n**If you don't want to change anything, you don't have to.** `npx npkill` works as always, it just finds a lot more.\r\n\r\nYou can read all the details of this update in [this post](https://zaldih.com/en/post/npkill-1-0-0/) or watch the [teaser (1:15)](https://youtu.be/jSKCvmx5IxU).\r\n\r\n## Added\r\n\r\n- Added **profiles**: sets of targets that represent a development ecosystem. The default one is `node`, which finds `node_modules` and also `.next`, `.nuxt`, `.angular`, `.turbo` and friends. There are 20 built-in profiles (`python`, `rust`, `java`, `dotnet`, `unity`...). Use them with `--profiles node,python` or list them with `--profiles`. [More info](https://github.com/voidcosmos/npkill/blob/main/docs/profiles.md).\r\n- Added **smart targets**: some folders are only shown when the files around them confirm what they are. For example, `target` only appears next to a `Cargo.toml` or `pom.xml`.\r\n- Added **`.npkillrc`**: define your default options and your own profiles. npkill looks for `./.npkillrc` first and then for `~/.npkillrc`. You can also use `--config`. [More info](https://github.com/voidcosmos/npkill/blob/main/docs/npkillrc.md).\r\n- Added **panels**: navigate with `←` and `→` between `Help`, `Options`, the results and `Info`.\r\n  - **Help**: quick reference with all the shortcuts.\r\n  - **Options**: change the sort, the targets or the directory without restarting npkill.\r\n  - **Info**: details of the result under the cursor, like the exact date of the last change or the risk of deleting it.\r\n- Added **multi-select mode**: press `t` to select several results and delete them at once. Use `v` to select a range and `a` to select all.\r\n- Added **search**: press `/` to filter the results by name or path. It supports regex.\r\n- Added **JSON output**: `--json` prints all the results as a single object and `--json-stream` prints one result per line as they are found. Both can delete without the interface with `--delete-all -y`. [More info](https://github.com/voidcosmos/npkill/blob/main/docs/json-output.md).\r\n- Added **API**: the core is now separated from the cli, so you can use npkill from your own code with `import { Npkill } from 'npkill'`. [More info](https://github.com/voidcosmos/npkill/blob/main/API.md).\r\n- Added multiple targets: `--targets node_modules,.cache`.\r\n- Added `--older-than`: only show results whose project has not been modified in the given number of days (#271, thanks @Shreyakb301).\r\n- Added `--no-size`, `--no-age` and `--no-stats` to skip the calculations you don't need (#246, #250, thanks @yetanotheraryan and @StanislavKozachenko).\r\n- Added `--size-unit` (`auto`, `mb`, `gb`). With `auto` the unit changes between MB and GB by itself.\r\n- Added `--no-ignore-default` to also look inside the folders that npkill skips by default, like `.git` or `.nvm`.\r\n- Added **scrollbar** to the results. _Yes, it didn't have one. I'd rather not talk about it._\r\n- Added **results counter** and the active profiles in the header.\r\n\r\n## Changed\r\n\r\n- ❗ Changed `--target` to `--targets`.\r\n- ❗ Changed `--exclude-hidden-directories` to `--exclude-sensitive`. `-x` no longer hides the \"dot\" directories, it hides the results marked as sensitive.\r\n- ❗ Changed `--delete-all`: now it requires `--targets`. Nothing is deleted automatically unless you say exactly what.\r\n- ❗ Changed `--sort last-mod` to `--sort age`. The `Last_mod` column is now `Age`.\r\n- ❗ Changed `-gb` to `--size-unit gb`.\r\n- ❗ Removed `--bg-color`.\r\n- ❗ Unknown options are now rejected instead of ignored.\r\n- Changed `--exclude`: now it accepts patterns. A name matches anywhere, `./path` matches from the scan root and ","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}