Empty the trash
Works on macOS, Linux, and Windows.
Installnpm install empty-trashUsage
import emptyTrash from 'empty-trash'; await emptyTrash();Info
On macOS, AppleScript is used as it's the only way to do it without incurring permission issues.
On Linux, the XDG spec is followed.
On Windows, empty-recycle-bin
is used.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4