Which is the best functional programming library for typescript?

This page summarizes the projects mentioned and recommended in the original post on /r/typescript

Our great sponsors
  • Amplication - open-source Node.js backend code generator
  • Appwrite - The open-source backend cloud platform
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
  • eslint-plugin-functional

    ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.

    I just use https://github.com/jonaskello/eslint-plugin-functional

  • fp-ts

    Functional programming in TypeScript

    For example, if you want to practice function composition, with TypeScript you'll need to write a bunch of tedious overloads.

  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

  • Immer

    Create the next immutable state by mutating the current one

    It's value is less today, than It was a couple of years ago. It solved a lot of issues, that today can be solved in other ways. Immer is one example.

  • immutable-js

    Immutable persistent data collections for Javascript which increase efficiency and simplicity.

    It's also been mostly unmaintained, but recently it's getting restructured. See this github thread and comment.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts