Skip to content
JS
Package

trash

Move files and folders to the trash

v10.1.1, 25 Feb 2026MITESM onlyTypes: BundledFiles and file systems
$ npm install trash

Key numbers

As of 25 Sept 2026
Weekly downloads
199.2k
+97% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
9
Direct, from package.json
Last release
6 months ago
v10.1.1
GitHub stars
2.7k
81 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
15

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 257.4k (8 Sept 2026)Low 62.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

199,188 downloads last week, 917,251 in the last month. The 12-month change of +97% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
10.1.1, 25 Feb 20266 months ago
First published
-
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
15
Dependents on npm
272

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
754 kB
Dependencies (9)
p-mapglobbychunkifymove-filewsl-utilsxdg-trashdiris-path-insidepowershell-utils@stroncium/procfs
npm install trash
  • jsDelivrhttps://cdn.jsdelivr.net/npm/trash@10.1.1/
  • unpkghttps://unpkg.com/trash@10.1.1/
  • esm.shhttps://esm.sh/trash@10.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
delete-empty37.8k-7 years agoCommonJS-
delete6.9k-9 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.