{"id":28714528,"url":"https://github.com/zrosenbauer/nuka-code","last_synced_at":"2025-06-15T01:07:46.182Z","repository":{"id":295923695,"uuid":"991694850","full_name":"zrosenbauer/nuka-code","owner":"zrosenbauer","description":"A package brought to you by the Nuka-Cola Corporation to zap away those pesky cache, node_modules, and other related files \u0026 directories.","archived":false,"fork":false,"pushed_at":"2025-06-09T05:25:15.000Z","size":396,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T20:27:05.924Z","etag":null,"topics":["cache","cache-cleaner","cleaner","delete","nuka-code","nuke","rimraf"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/nuka-code","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zrosenbauer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"zrosenbauer"}},"created_at":"2025-05-28T02:46:51.000Z","updated_at":"2025-06-05T20:08:54.000Z","dependencies_parsed_at":"2025-05-31T01:21:06.893Z","dependency_job_id":null,"html_url":"https://github.com/zrosenbauer/nuka-code","commit_stats":null,"previous_names":["zrosenbauer/nuka-cola","zrosenbauer/nuke-it"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zrosenbauer/nuka-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrosenbauer%2Fnuka-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrosenbauer%2Fnuka-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrosenbauer%2Fnuka-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrosenbauer%2Fnuka-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zrosenbauer","download_url":"https://codeload.github.com/zrosenbauer/nuka-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrosenbauer%2Fnuka-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259906194,"owners_count":22929978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache","cache-cleaner","cleaner","delete","nuka-code","nuke","rimraf"],"created_at":"2025-06-15T01:07:42.895Z","updated_at":"2025-06-15T01:07:46.132Z","avatar_url":"https://github.com/zrosenbauer.png","language":"TypeScript","funding_links":["https://github.com/sponsors/zrosenbauer"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/zrosenbauer/nuka-code/main/assets/banner.png\" alt=\"banner for nuka-code\" width=\"100%\" /\u003e\n  \u003cblockquote\u003e\n    \u003cp\u003e\n      \"Zap that cache!\"\n    \u003c/p\u003e\n  \u003c/blockquote\u003e\n\u003c/div\u003e\n\n# nuka-code\n\nA package brought to you by the Nuka-Cola Corporation to zap away those pesky `cache`, `node_modules`, and other related files \u0026 directories.\n\n![NPM Version](https://img.shields.io/npm/v/nuka-code)\n[![Code Standards \u0026 Testing](https://github.com/zrosenbauer/nuka-code/actions/workflows/ci.yaml/badge.svg)](https://github.com/zrosenbauer/nuka-code/actions/workflows/ci.yaml)\n[![Checked with Biome](https://img.shields.io/badge/Checked_with-Biome-60a5fa?style=flat\u0026logo=biome)](https://biomejs.dev)\n\n## Usage\n\n```bash\nnpx nuka-code --help\n```\n\nOR\n\n```bash\nnpm install -g nuka-code\nnuka-code --help # or nuke --help\n```\n\n## What is this?\n\nNuka-Code is a CLI tool that removes the need to manually remove `cache`, `node_modules`, and other related files \u0026 directories. This can replace the usage of `rimraf` or other similar tools, to clean up your project aka restore\nit to a clean state (sort of like the first time you `git clone` your repo).\n\n## What does it do?\n\nThis package will nuke (delete aka `rm -rf`) the following:\n\n- cache (`.turbo`, `.vite`, `.next`, etc.)\n- node_modules\n- build artifacts (`dist`, `out`, `build`, `bundle`, etc.)\n\nYou can view a full list of globs [here](./docs/globs.md).\n\n\u003e [!WARNING]\n\u003e By default, Nuka-Code SHOULD NOT nuke anything important like `package-lock.json`, `src/**/*.ts`, `yarn.lock`, but as with all things, use at your own risk.\n\n## Troubleshooting\n\n### Oops I nuked the wrong thing...\n\nUnless you passed in the `--force` flag, Nuka-Code will ask you for confirmation before nuking anything... so please `git commit` your changes before running `nuka-code`!\n\n### Its not deleting everything I want it to\n\nPlease open an issue with what you want to add to the nuke list and we'll see, we also are considering adding a `nuke.config.ts` file to allow for more customization but for now simplicity is the name of the game.\n\n## Acknowledgements\n\nThe name, content, art, and other assets are based on the wonderful Fallout universe, and the Nuka-Cola brand. This is fan-art in the form of an npm package and not intended for commercial use or profit, and is not affiliated with Bethesda Softworks or any of its affiliates.\n\n\u003c!-- Sponsorship footer --\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003chr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ch2\u003eSponsorship\u003c/h1\u003e\n  \u003cdiv\u003e\u003csup\u003eSpecial thanks to:\u003c/sup\u003e\u003c/div\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://www.joggr.io/?utm_source=github\u0026utm_medium=org-readme\u0026utm_campaign=static-docs\"\u003e\n    \u003cimg src=\"https://assets.joggr.io/logos/logo.png\" width=\"160\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrosenbauer%2Fnuka-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzrosenbauer%2Fnuka-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrosenbauer%2Fnuka-code/lists"}