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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start 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