Trash is a Node.js library that moves files and directories to the system's trash or recycle bin instead of permanently deleting them.
Features
- Supports macOS, Linux, and Windows platforms
- Handles both files and directories
- Provides a promise-based API for asynchronous operations
- Ensures safer file deletion by utilizing the system's trash
- Accepts glob patterns for batch operations
- Integrates easily into existing Node.js projects
Categories
File ManagersLicense
MIT LicenseFollow Trash
Other Useful Business Software
Go From Idea to Deployed AI App Fast
Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Trash!