Skip to content
JS
Comparison

fp-ts vs true-myth

TypeScript toolingPackage data 25 Sept 2026
fp-tsv2.16.11, 18 Aug 2025

Functional programming in TypeScript

$ npm install fp-ts
true-mythv9.4.0, 25 May 2026

A library for safe functional programming in JavaScript, with first-class support for TypeScript

$ npm install true-myth
Metricfp-tstrue-mythDifference
Weekly downloads3,322,939501,214fp-ts 6.6x higher
12-month download growth+17%+65%true-myth +48 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size4.5 MB857 kBtrue-myth 5.4x smaller
Latest release2.16.11, 18 Aug 20259.4.0, 25 May 2026true-myth 9 months more recent
Releases, last 12 months04true-myth 4 more
First published11 Feb 201728 Sept 2017fp-ts 8 months earlier
GitHub stars11,5511,365fp-ts 8.5x higher
Open issues1567fp-ts 149 more
Open pull requests349fp-ts 25 more
Contributors---
Commits, last 52 weeks2343true-myth 171.5x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM onlyDiffers
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

fp-ts3.3m latest weektrue-myth501.2k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

fp-ts

Major versions
  1. 0.0.111 Feb 2017
  2. 1.0.012 Feb 2018
  3. 2.0.01 Jul 2019
Last 5 releases
  1. 2.16.1118 Aug 2025
  2. 2.16.1018 Apr 2025
  3. 2.16.925 Jul 2024
  4. 2.16.87 Jul 2024
  5. 2.16.729 Jun 2024
176 releases in total, 0 in the last 12 months

true-myth

Major versions
  1. 0.1.028 Sept 2017
  2. 1.0.01 Nov 2017
  3. 2.0.018 May 2018
  4. 3.0.017 May 2019
  5. 4.0.018 Dec 2019
  6. 5.0.028 Nov 2021
  7. 6.0.025 May 2022
  8. 7.0.015 Jul 2023
  9. 8.0.011 Aug 2024
  10. 9.0.016 Apr 2025
Last 5 releases
  1. 9.4.025 May 2026
  2. 9.3.125 Nov 2025
  3. 9.3.025 Nov 2025
  4. 9.2.027 Sept 2025
  5. 9.1.025 Aug 2025
85 releases in total, 4 in the last 12 months
fp-ts

-

true-myth

-

fp-ts

-

true-myth

-

  • Need no runtime dependenciesBoth
  • Need both ESM and CommonJS entry pointsfp-ts (fp-ts: ESM + CommonJS; true-myth: ESM only)
  • Need to load it with require()fp-ts
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementfp-ts: none declared; true-myth: 18.* || >= 20.* (engines field in package.json)
  • Need the more recent releasetrue-myth (9.4.0 on 25 May 2026 vs 2.16.11 on 18 Aug 2025)
  • Higher weekly npm downloadsfp-ts (3.3m vs 501.2k)

Each line is generated from the data above.

true-myth: true-myth npm registry, true-myth npm downloads, true-myth GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.