Skip to content
JS
Alternatives

ts-prune alternatives

8 packages that do the same job as ts-prune: ts-toolbelt, update-ts-references, pathcat, type-fest, tsutils, utility-types, just-diff, just-diff-apply. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
ts-prune
This package
384.2k+60%-64 years agoCommonJSBundled-
ts-toolbelt7.1m+88%-05 years agoCommonJSBundled-
update-ts-references86k+678%-63 months ago-None-
pathcat5.2k+313%-010 months agoESM + CommonJSBundled-
type-fest285.1m+47%-17 days agoESM onlyBundled-
tsutils16.1m-17%-15 years ago-None-
utility-types7.8m+125%-02 years agoCommonJSBundled-
just-diff4.6m+50%-03 years agoESM + CommonJSBundled-
just-diff-apply4.4m+47%-03 years agoESM + CommonJSBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

TypeScript's largest utility library

Compared with ts-prune

  • 18x more weekly downloads (7.1m vs 384.2k)
  • 0 dependencies vs 6
  • Last release 10 Mar 2021 vs 12 Dec 2021
  • 3.5x more GitHub stars (7.2k vs 2.1k)

Updates TypeScript references automatically while using workspaces

Compared with ts-prune

  • 4.5x fewer weekly downloads (86k vs 384.2k)
  • - vs CommonJS
  • No types vs bundled types
  • Declares Node.js >=22.13.0 vs none declared
  • Last release 22 Jun 2026 vs 12 Dec 2021
  • 30x fewer GitHub stars (69 vs 2.1k)

pathcat makes URLs easy

Compared with ts-prune

  • 75x fewer weekly downloads (5.2k vs 384.2k)
  • 0 dependencies vs 6
  • ESM + CommonJS vs CommonJS
  • Last release 31 Oct 2025 vs 12 Dec 2021
  • 11x fewer GitHub stars (196 vs 2.1k)

A collection of essential TypeScript types

Compared with ts-prune

  • 742x more weekly downloads (285.1m vs 384.2k)
  • 1 dependency vs 6
  • ESM only vs CommonJS
  • Declares Node.js >=20 vs none declared
  • Last release 17 Sept 2026 vs 12 Dec 2021
  • 8.4x more GitHub stars (17.4k vs 2.1k)

utilities for working with typescript's AST

Compared with ts-prune

  • 42x more weekly downloads (16.1m vs 384.2k)
  • 1 dependency vs 6
  • - vs CommonJS
  • No types vs bundled types
  • Declares Node.js >= 6 vs none declared
  • Last release 7 Mar 2021 vs 12 Dec 2021
  • 6.2x fewer GitHub stars (331 vs 2.1k)

Utility Types Collection for TypeScript

Compared with ts-prune

  • 20x more weekly downloads (7.8m vs 384.2k)
  • 0 dependencies vs 6
  • Declares Node.js >= 4 vs none declared
  • Last release 18 Jan 2024 vs 12 Dec 2021
  • 2.8x more GitHub stars (5.8k vs 2.1k)

Return an object representing the diffs between two objects. Supports jsonPatch protocol

Compared with ts-prune

  • 12x more weekly downloads (4.6m vs 384.2k)
  • 0 dependencies vs 6
  • ESM + CommonJS vs CommonJS
  • Last release 26 Mar 2023 vs 12 Dec 2021
  • 3.0x more GitHub stars (6.2k vs 2.1k)

Apply a diff to an object. Optionally supports jsonPatch protocol

Compared with ts-prune

  • 11x more weekly downloads (4.4m vs 384.2k)
  • 0 dependencies vs 6
  • ESM + CommonJS vs CommonJS
  • Last release 17 Dec 2022 vs 12 Dec 2021
  • 3.0x more GitHub stars (6.2k vs 2.1k)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.