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

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

MIT License

Follow Trash

Trash Web Site

Other Useful Business Software
Go From Idea to Deployed AI App Fast Icon
Go From Idea to Deployed AI App Fast

One platform to build, fine-tune, and deploy. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Trash!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript File Managers

Registered

2025-02-07