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
99.99% Uptime for MySQL and PostgreSQL Databases Icon
99.99% Uptime for MySQL and PostgreSQL Databases

Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
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