{"adoption": {"forks": 81, "observed_at": "2026-08-28T04:07:09.116637+00:00", "stars": 2665}, "canonical_url": "https://ross.abutalabs.com/products/trash", "card": {"archived": false, "artifact_type": "library", "description": "Move files and directories to the trash", "domain": ["files", "developer-tools", "cross-platform"], "enriched": true, "function": ["file-system", "cli"], "health_score": 79, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["sindresorhus/trash"], "name": "sindresorhus/trash", "platform": ["windows", "cli"], "pushed_at": "2026-02-25T14:51:56+00:00", "repo": "sindresorhus/trash", "stars": 2665, "tags": ["trash", "recycle-bin", "safe-delete", "glob", "npm-package", "nodejs", "macos", "linux"], "topics": ["trash", "recycle-bin", "delete", "nodejs", "npm-package"], "urls": [], "use_cases": ["safely delete files to trash instead of rm", "move files to recycle bin from nodejs", "reversible file deletion in a script", "delete files with glob patterns to trash", "cross-platform trash support in a node app"], "what_it_is": "A Node.js library that safely moves files and directories to the OS trash/recycle bin instead of permanently deleting them, with glob pattern support. It works cross-platform on macOS, Windows, and Linux (XDG spec).", "when_to_avoid": ["you need permanent, irreversible deletion (use del or rimraf)", "you need robust Linux support, which is poorly maintained", "you're running as a Windows service account where recycle bin behavior is problematic"], "when_to_choose": ["you want deletions to be recoverable via the OS trash", "you need cross-platform safe file removal in Node.js", "you want glob-based file matching before trashing"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/trash", "repo": "sindresorhus/trash", "role": "main", "score": 72}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.116637+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:18:17.966191+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c8d7a80092d851484fa20857346bc2e18fe739e14986ea162779bd122c006ff4", "fetched_at": "2026-08-28T04:07:09.116637+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/trash"}, {"content_hash": "888b68337529ad713a9f7ca73d4253a4db5fe81d48a23cfeb363796c1e93efc4", "fetched_at": "2026-08-29T10:01:15.403043+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/trash"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "longevity": 100, "rhythm": 60}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4494, "days_push": 189, "days_rel": 189, "gap_med": 48, "n_releases_24m": 4}, "score": 72, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}