TypeScript Functional

Open-source TypeScript projects categorized as Functional

Top 23 TypeScript Functional Projects

  • remeda

    A utility library for JavaScript and TypeScript.

    Project mention: Functional Programming in JavaScript with Ramda.js | /r/reactjs | 2023-05-05
  • tonal

    A functional music theory library for Javascript

    Project mention: What is this scale called? | /r/musictheory | 2023-05-03

    It's not on this list, but it's a cool list to check out either way

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • Router5

    Flexible and powerful universal routing solution

  • meta-typing

    📚 Functions and algorithms implemented purely with TypeScript's type system

  • eslint-plugin-functional

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

    Project mention: How to add a property to an object that doesn't exist in its type? | /r/typescript | 2022-09-28

    It recommend using https://github.com/eslint-functional/eslint-plugin-functional to force readonly on all properties.

  • boxed

    Utility types for functional TypeScript

    Project mention: Boxed: Functional Types and Utilities for TypeScript | news.ycombinator.com | 2023-05-19
  • bukubrow-webext

    WebExtension for Buku

  • Klotho

    AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)

  • react-functional-select

    Micro-sized & micro-optimized select component for React.js

  • statofu

    Predictable state changes at a low cost. Framework-agnostic, fast, and small.

    Project mention: Must predictable state changes come at a high cost? | dev.to | 2023-06-09

    To make the solution complete, fundamental blocks of state management like getting states with or without selectors, subscribing to state changes, and integrating with frameworks are also needed. For your convenience, here is an open-source in-progress project implemented following the idea above: https://github.com/statofu/statofu . You are very welcome to fork it or open issues in it to join the exploration.

  • stacks

    ⚛️ Type-safe full-stack framework for Artisans. Develop modern clouds, apps & framework-agnostic libraries, faster. (site coming soon) (by stacksjs)

    Project mention: Kysely: A type-safe SQL query builder for Typescript by the author of objection.js | /r/programming | 2023-03-28

    https://github.com/stacksjs/stacks are working on something with Kysely as well.

  • iter-ops

    Basic operations on iterables

    Project mention: Updates from the 93rd TC39 meeting | /r/javascript | 2022-12-03

    I think I'm gonna stick with iter-ops, where I can use map without Promise resolution, so I can execute any resolution strategy described there.

  • fnts

    λ Minimal Functional Programming Utilities for TypeScript & JavaScript

  • ok-computer

    λ "Functions all the way down" data validation for JavaScript and TypeScript.

  • ftld

    A pragmatic entry into a functional fantasy land.

    Project mention: ftld - a tiny, pragmatic, easy to use functional programming library | /r/typescript | 2023-04-27
  • hacky

    ⚙️ Crank.js with tagged templates

  • mobx-store-provider

    React Hooks to connect mobx-state-tree to your components

  • fefe

    Validate, sanitize and transform values with proper TypeScript types and zero dependencies.

  • stream

    Typesafe API for processing iterable data in TypeScript and JavaScript. (by szilanor)

    Project mention: LINQ, Stream API like lib for TS/JS | /r/programming | 2022-06-19
  • from-typescript-to-rescript

    Frontend of https://Inhyped.com written in TypeScript and rewritten in ReScript

  • matchbook-ts

    pattern matching in javascript & typescript made easy

  • assert-combinators

    Functional assertion combinators.

    Project mention: Kysely: TypeScript SQL Query Builder | news.ycombinator.com | 2023-01-24

    We use in prod variant of no 1. [0]. Why? Because:

    * it's extremely lightweight (built on pure, functional combinators)

    * it allows us to use more complex patterns ie. convention where every json field ends with Json which is automatically parsed; which, unlike datatype alone, allows us to create composable query to fetch arbitrarily nested graphs and promoting single [$] key ie. to return list of emails as `string[]` not `{ email: string }[]` with `select email as [$] from Users` etc.

    * has convenience combinators for things like constructing where clauses from monodb like queries

    * all usual queries like CRUD, exists etc. and some more complex ie. insertIgnore, merge1n etc has convenient api

    We resort to runtime type assertions [1] which works well for this and all other i/o; runtime type assertions are necessary for cases when your running service is incorrectly attached to old or future remote schema (there are other protections against it but still happens).

    [0] https://github.com/appliedblockchain/tsql

    [1] https://github.com/appliedblockchain/assert-combinators

  • Fleet-of-the-Faithful-Knights

    Monorepo for the Fleet of the Faithful Knights

  • fp-ts-webdriver

    fp-ts bindings to the Webdriver W3C specification

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

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 2023-06-09.

TypeScript Functional related posts


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

Project Stars
1 remeda 2,963
2 tonal 2,537
3 Router5 1,720
4 meta-typing 983
5 eslint-plugin-functional 629
6 boxed 530
7 bukubrow-webext 300
8 react-functional-select 188
9 statofu 179
10 stacks 109
11 iter-ops 103
12 fnts 77
13 ok-computer 74
14 ftld 48
15 hacky 44
16 mobx-store-provider 39
17 fefe 38
18 stream 30
19 from-typescript-to-rescript 30
20 matchbook-ts 26
21 assert-combinators 21
22 Fleet-of-the-Faithful-Knights 7
23 fp-ts-webdriver 6
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.