{"_id":"@9vvin/cnr","_rev":"4-9b609ebf9fb8af8cd30211e3e6e604ef","name":"@9vvin/cnr","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@9vvin/cnr","version":"1.0.0","keywords":["node_modules","clean","cleanup","disk-space","utility","recursive","maintenance","delete"],"author":"","license":"MIT","_id":"@9vvin/cnr@1.0.0","maintainers":[{"name":"9vvin","email":"9vvin.base@gmail.com"}],"homepage":"https://github.com/im-9vvin/clear-node-modules-recursively#readme","bugs":{"url":"https://github.com/im-9vvin/clear-node-modules-recursively/issues"},"bin":{"cnr":"cnr.js"},"dist":{"shasum":"12f1c3d41b579d8a8465a35bc8e5d49b8ae5dbd0","tarball":"https://registry.npmjs.org/@9vvin/cnr/-/cnr-1.0.0.tgz","fileCount":6,"integrity":"sha512-8a5C9VkkHiw4W9uti5DDYKRWgzrzzUPxFu0fqMZB5n/3ZQFn/Afw48ch/60QSg3qFX1WEgBeIlbDDELO/C+j0A==","signatures":[{"sig":"MEQCIAs2fAW4DtSAYcPZ8fuJd2tbyNYkbOMFoa+1P4QW+g0bAiABLcgQtaPO0hy4ClYG4uh6DnCts0/xOrbIWLuJPfH93g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17047},"main":"cnr.js","access":"public","engines":{"node":">=10.0.0"},"gitHead":"0f97d2ed9e1fce50ba20d1294a3c23be41d625ef","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node cnr.js"},"_npmUser":{"name":"9vvin","email":"9vvin.base@gmail.com"},"repository":{"url":"git+https://github.com/im-9vvin/clear-node-modules-recursively.git","type":"git"},"_npmVersion":"10.9.2","description":"Recursively find and clear node_modules directories to free up disk space","directories":{},"_nodeVersion":"22.14.0","dependencies":{"rimraf":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/cnr_1.0.0_1746524728606_0.3281450743522001","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@9vvin/cnr","version":"1.0.1","keywords":["node_modules","clean","cleanup","disk-space","utility","recursive","maintenance","delete"],"author":"","license":"MIT","_id":"@9vvin/cnr@1.0.1","maintainers":[{"name":"9vvin","email":"9vvin.base@gmail.com"}],"homepage":"https://github.com/im-9vvin/clear-node-modules-recursively#readme","bugs":{"url":"https://github.com/im-9vvin/clear-node-modules-recursively/issues"},"bin":{"cnr":"cnr.js"},"dist":{"shasum":"ec7bbe7eeeeb8cd62fd2c1d57caadb21250e23ac","tarball":"https://registry.npmjs.org/@9vvin/cnr/-/cnr-1.0.1.tgz","fileCount":9,"integrity":"sha512-DVD8f029gdUcagFFD7TDFLV5WxA+X6ASAb5BExdlewE9eynZaVqyaW57Ttx/+hFb/AShi2OVX79Zga0QP35P9A==","signatures":[{"sig":"MEYCIQCN6z4D8iJ1ijqUlr5E2hbFS357smLH8vh05P3Tw7t09AIhAPcbU3QtO2k5SuKJaQ80PFDlDDZ3I2+PhqGuq+hWT4P0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87697},"main":"cnr.js","engines":{"node":">=10.0.0"},"gitHead":"0f5ffbbaebd0c34b6382cd24f816b4fc08e1af44","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node cnr.js"},"_npmUser":{"name":"9vvin","email":"9vvin.base@gmail.com"},"repository":{"url":"git+https://github.com/im-9vvin/clear-node-modules-recursively.git","type":"git"},"_npmVersion":"10.9.2","description":"Recursively find and clear node_modules directories to free up disk space","directories":{},"_nodeVersion":"22.17.1","dependencies":{"rimraf":"^3.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/cnr_1.0.1_1754355285618_0.016659763483049872","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@9vvin/cnr","version":"1.0.2","keywords":["node_modules","clean","cleanup","disk-space","utility","recursive","maintenance","delete"],"author":"","license":"MIT","_id":"@9vvin/cnr@1.0.2","maintainers":[{"name":"9vvin","email":"9vvin.base@gmail.com"}],"homepage":"https://github.com/im-9vvin/clear-node_modules-recursively#readme","bugs":{"url":"https://github.com/im-9vvin/clear-node_modules-recursively/issues"},"bin":{"cnr":"cnr.js"},"dist":{"shasum":"2c3430e0d3d866d3e90b61337f6706b0d8859062","tarball":"https://registry.npmjs.org/@9vvin/cnr/-/cnr-1.0.2.tgz","fileCount":8,"integrity":"sha512-i69X2F0yZpLTN+pbeeE/MtVkROG0lMIfbhr/N8EmWmYH+04X20lGB7mnydyLJ6u1ulX+XIgCObMZyVUBUGReJw==","signatures":[{"sig":"MEYCIQCMKwa/0fo5Z/r5Hc8ci8IjCJZwpZdcYYqedrFfdFJUDwIhALWRKi10xMy4UKTsBdCVRHu9jXrAqIMfDmDEmHOvwtrw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87615},"main":"cnr.js","engines":{"node":">=10.0.0"},"gitHead":"baea3d4ce4f2a25833043566de45c69d22102c51","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node cnr.js"},"_npmUser":{"name":"9vvin","email":"9vvin.base@gmail.com"},"repository":{"url":"git+https://github.com/im-9vvin/clear-node_modules-recursively.git","type":"git"},"_npmVersion":"10.9.2","description":"Recursively find and clear node_modules directories to free up disk space","directories":{},"_nodeVersion":"22.14.0","dependencies":{"rimraf":"^3.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/cnr_1.0.2_1754364055419_0.4714452571717491","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@9vvin/cnr","version":"1.1.0","description":"Recursively find and clear node_modules directories to free up disk space","main":"cnr.js","private":false,"publishConfig":{"access":"public"},"bin":{"cnr":"cnr.js"},"scripts":{"start":"node cnr.js","test":"mocha test/**/*.test.js --timeout 10000","test:watch":"npm test -- --watch","test:coverage":"c8 npm test"},"keywords":["node_modules","clean","cleanup","disk-space","utility","recursive","maintenance","delete"],"author":"","license":"MIT","devDependencies":{"c8":"^10.1.3","chai":"^5.2.1","mocha":"^11.7.1"},"repository":{"type":"git","url":"git+https://github.com/im-9vvin/clear-node_modules-recursively.git"},"bugs":{"url":"https://github.com/im-9vvin/clear-node_modules-recursively/issues"},"homepage":"https://github.com/im-9vvin/clear-node_modules-recursively#readme","engines":{"node":">=10.0.0"},"dependencies":{"rimraf":"^6.0.1"},"_id":"@9vvin/cnr@1.1.0","gitHead":"a9fb65ef9ea6f0008de717140f49f2680f7b3623","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-zeShAw11E2ginDALk6Guo4SxtUkuC1esG11QGRWc6eWDEU4p97hsLzxLK5off4zq9WsnaJnDcjK6Ff9g4bOvGQ==","shasum":"c946128df0e9bc5e3eef6b44a003f01e02a3e7bb","tarball":"https://registry.npmjs.org/@9vvin/cnr/-/cnr-1.1.0.tgz","fileCount":26,"unpackedSize":200440,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDtxxkpALdg9tTW8IeBOkUnsi+uA5EEY2U6doJFhY4FgQIgGMO3FHm1zaBiT0YlvonYf2vaPSglM9HFRlPvhX8Wm3c="}]},"_npmUser":{"name":"9vvin","email":"9vvin.base@gmail.com"},"directories":{},"maintainers":[{"name":"9vvin","email":"9vvin.base@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cnr_1.1.0_1754710421917_0.3098212771162039"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-06T09:45:28.503Z","modified":"2025-08-09T03:33:42.330Z","1.0.0":"2025-05-06T09:45:28.789Z","1.0.1":"2025-08-05T00:54:45.850Z","1.0.2":"2025-08-05T03:20:55.594Z","1.1.0":"2025-08-09T03:33:42.142Z"},"bugs":{"url":"https://github.com/im-9vvin/clear-node_modules-recursively/issues"},"license":"MIT","homepage":"https://github.com/im-9vvin/clear-node_modules-recursively#readme","keywords":["node_modules","clean","cleanup","disk-space","utility","recursive","maintenance","delete"],"repository":{"type":"git","url":"git+https://github.com/im-9vvin/clear-node_modules-recursively.git"},"description":"Recursively find and clear node_modules directories to free up disk space","maintainers":[{"name":"9vvin","email":"9vvin.base@gmail.com"}],"readme":"# CNR (Clear `node_modules` Recursively)\n\n[en](./README.md) | [ko](./README_ko.md)\n\n![The heaviest object in the universe; node_modules](./the_object_node_modules.png)\n\nA utility that recursively finds and deletes node_modules directories. Useful for reclaiming disk space and cleaning up development environments.\n\n## Installation\n\n```bash\n# Global installation\nnpm install -g @9vvin/cnr\n\n# Or run with npx (without installation)\nnpx @9vvin/cnr\n```\n\n## Usage\n\n### Command Line Usage\n\nYou can use it in various ways:\n\n#### Node.js Script (cnr.js)\n\n```bash\n# Run in current directory\nnode cnr.js\n\n# Specify a directory\nnode cnr.js /path/to/directory\n```\n\n#### Bash Shell Script (cnr.sh) - macOS/Linux\n\n```bash\n# Grant execution permission\nchmod +x cnr.sh\n\n# Run in current directory\n./cnr.sh\n\n# Specify a directory\n./cnr.sh /path/to/directory\n```\n\n#### PowerShell Script (cnr.ps1) - Windows\n\n```powershell\n# Run in current directory\n.\\cnr.ps1\n\n# Specify a directory\n.\\cnr.ps1 -RootPath C:\\path\\to\\directory\n```\n\n#### Windows Batch Script (cnr.cmd)\n\n```cmd\n# Run in current directory\ncnr\n\n# Specify a directory\ncnr C:\\path\\to\\directory\n```\n\n### Using as npm Package\n\nYou can use it after installing the package:\n\n```bash\n# Run after global installation\nnpm install -g @9vvin/cnr\ncnr [directory]\n\n# Run with npx (without installation)\nnpx @9vvin/cnr [directory]\n```\n\n## Features\n\n- Recursively search for node_modules directories\n- Calculate and display the size of each directory\n- Provide statistics on deleted directories and reclaimed space\n- Support for various platforms (Windows, macOS, Linux)\n- Support for various scripts (Node.js, Bash, PowerShell, Windows Batch)\n- Comprehensive test suite with code coverage\n\n## Development\n\n```bash\n# Clone repository\ngit clone https://github.com/im-9vvin/clear-node-modules-recursively.git\ncd clear-node-modules-recursively\n\n# Install dependencies\nnpm install\n\n# Test locally\nnode cnr.js\n```\n\n## License\n\nMIT\n\n## Contributing\n\nIssues and pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## Author\n\n- [@im-9vvin](https://github.com/im-9vvin)","readmeFilename":"README.md"}