Rare find

Trash. Move files and folders to the trash instead of permanently deleting them.

github.com/sindresorhus/trash

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

February 2026
  • Release —
  • 10.1.1
  • Fix “Put Back” when trashing multiple files
January 2026
  • Throw descriptive error for invalid filename encoding on Linux
  • Release —
  • 10.1.0
  • Add test for Unicode characters in filename
  • Update dependencies
  • Add test for glob exclusion patterns
  • Fix incorrect trash directory on NixOS and systems with bind mounts
  • Document that non-existent files are silently ignored
  • Add WSL support to move files to Windows Recycle Bin (#133)
December 2025
  • Release —
  • 10.0.1
  • Fix CI
  • Linux: Encode `.trashinfo` path per XDG spec (#134)
  • Switch to non-deprecated `chunkify` package (#136)
September 2025
  • Minor tweaks
  • Use static string path imports to load the platform-specific implemen…
  • Fix CI
  • Release —
  • 10.0.0
  • Document Windows service account behavior
  • Require Node.js 20
July 2024
  • Release —
February 2023
  • Release —
December 2021
  • Release —
October 2021
  • Release —
June 2021
  • Release —
March 2021
  • Release —