Partial writes during interrupted npm package extraction
npm utilizes a built-in retry mechanism governed by --fetch-retries and --fetch-retry-mintimeout to handle transient network errors. While these settings manage the fetch phase, the CLI does not implement a transactional file system for the node_modules directory. When an installation is interrupted specifically during the extraction phase—for example, via a