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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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