
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
fs-force-delete-win
Advanced tools
force delete files or directories blocked by other process in Windows
PS: Only works in 32 and 64 bit Windows from XP
npm i fs-force-delete-win --save
const forceDelete = require('fs-force-delete')
forceDelete('C:\\git\\testFilePath')
| Name | Type | Default | Description |
|---|---|---|---|
[deletePath] | {string} | the path to a file, a folder or a leading part of the path. E.g. K:, C:\Program Files, C:\Docume. /unlock or -u - unlocks the file_or_folder_path. It closes all handles to the files\folder that starts from file_or_folder_path and unloads .dlls which are residing in the files\folder that starts from file_or_folder_path. | |
[option] | {object} | {} | option |
[kill] | {boolean} | false | terminates all the apps which are launched from path. |
[staticPath] | {string} | undefined | path to this package's /static, use this when using webpack in electron. |
FAQs
force delete files or directories blocked by other process
The npm package fs-force-delete-win receives a total of 0 weekly downloads. As such, fs-force-delete-win popularity was classified as not popular.
We found that fs-force-delete-win demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.