TypeScript Functional programming

Open-source TypeScript projects categorized as Functional programming

Top 23 TypeScript Functional programming Projects

  • fp-ts

    Functional programming in TypeScript

    Project mention: Introducing fp-utils a functional utility library for Deno / Node | /r/Deno | 2023-12-10

    Unlike more comprehensive functional libraries like fp-ts, each module can be imported and resolved separately. If you just need options, simply add the option module and you're good to go.

  • Cycle.js

    A functional and reactive JavaScript framework for predictable code

    Project mention: Could angular possibly compile rxjs Ahead Of Time? | /r/Angular2 | 2023-03-19
  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • umbrella

    ⛱ Broadly scoped ecosystem & mono-repository of 190 TypeScript projects (and 155 examples) for general purpose, functional, data driven development

  • neverthrow

    Type-Safe Errors for JS & TypeScript

    Project mention: Error Handling Patterns | news.ycombinator.com | 2023-05-04

    Very timely, was just trying to understand how to improve error handling with typescript recently and came across neverthrow (https://github.com/supermacro/neverthrow) which looks promising…

  • unit

    Next Generation Visual Programming System (by samuelmtimbo)

    Project mention: Unit – Next Generation Visual Programming System | news.ycombinator.com | 2023-12-20
  • Marble.js

    Marble.js - functional reactive Node.js framework for building server-side applications, based on TypeScript and RxJS.

    Project mention: Functional Web Framework | /r/typescript | 2023-04-29

    I found marblejs which makes use of rxjs and FP-TS, but "I'm not feeling it", so I'm looking for alternatives.

  • HypeScript

    🐬 A simplified implementation of TypeScript's type system written in TypeScript's type system

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • purify

    Functional programming library for TypeScript - https://gigobyte.github.io/purify/

    Project mention: Purify 2.0.0 released! - A Functional programming library for TypeScript | /r/typescript | 2023-03-24

    Changelog: https://github.com/gigobyte/purify/releases/tag/v2.0.0

  • graphql-lodash

    🛠 Data manipulation for GraphQL queries with lodash syntax

  • froebel

    A strictly typed utility library.

  • ts-belt

    🔧 Fast, modern, and practical utility library for FP in TypeScript.

  • monocle-ts

    Functional optics: a (partial) porting of Scala monocle

    Project mention: Deep Cloning Objects in JavaScript, the Modern Way | news.ycombinator.com | 2023-12-21

    Instead of the "deep path properties" syntax, you might want to take the opportunity to learn about functional lenses with monocle-ts

    https://gcanti.github.io/monocle-ts/

  • true-myth

    A library for safer and smarter error- and "nothing"-handling in TypeScript.

  • eslint-plugin-functional

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

  • FxTS

    A functional programming library for TypeScript/JavaScript

    Project mention: A hidden power tool for arrays in TS | dev.to | 2024-01-25

    This library is FxTS.

  • optics-ts

    Type-safe, ergonomic, polymorphic optics for TypeScript

    Project mention: JavaScript Object Notation (JSON) Pointer | news.ycombinator.com | 2023-04-12
  • nest-clean-architecture

    🏛️ Nest.js clean architecture example following some DDD principles with use-cases written in functionnal programming.

    Project mention: Clean architecture in real world app? | /r/node | 2023-04-30

    I do not have all the links, but these are the repos that I found useful: https://github.com/stemmlerjs/white-label https://github.com/VincentJouanne/nest-clean-architecture

  • nmf-app

    Understand and reduce your carbon footprint 🌱 iOS & Android.

  • pratica

    🥃 Functional Algebraic Data Types

  • virtual-audio-graph

    :notes: Library for declaratively manipulating the Web Audio API

  • elm-ts

    A porting to TypeScript featuring fp-ts, rxjs6 and React

    Project mention: Why and How We Retired Elm at Culture Amp | news.ycombinator.com | 2023-04-08

    > By that time, TypeScript had grown to be capable enough (and developer-friendly enough) to balance much of what sold us on Elm originally: a usable type system, good-enough error messages, etc. React had baked in some more useful state management primitives that roughly matched Elm’s “batteries included” state management.

    if you like the ideas in elm but don't want to commit to it I'd encourage you to check out elm-ts (https://gcanti.github.io/elm-ts/) It has a little bit more boilerplate than elm (I find elm to be quite verbose already!) but a better experience for individuals and teams overall, I would say. It's a good example of how "TypeScript had grown to be capable enough (and developer-friendly enough) to balance much of what sold us on Elm originally: a usable type system.."

  • sweet-monads

    The library which provides useful monads, interfaces, and lazy iterators.

    Project mention: Loop much? | The Upside-Down Trees | /r/javascript | 2023-05-26

    GitHub: JSMonk/sweet-monads/iterator

  • remote-data-ts

    RemoteData type

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-01-25.

TypeScript Functional programming related posts

Index

What are some of the best open-source Functional programming projects in TypeScript? This list will help you:

Project Stars
1 fp-ts 10,338
2 Cycle.js 10,232
3 umbrella 3,166
4 neverthrow 2,331
5 unit 2,309
6 Marble.js 2,139
7 HypeScript 1,894
8 purify 1,473
9 graphql-lodash 1,216
10 froebel 1,102
11 ts-belt 1,009
12 monocle-ts 999
13 true-myth 818
14 eslint-plugin-functional 716
15 FxTS 695
16 optics-ts 655
17 nest-clean-architecture 592
18 nmf-app 474
19 pratica 433
20 virtual-audio-graph 346
21 elm-ts 299
22 sweet-monads 295
23 remote-data-ts 285
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com