Do you do full-on FP in JavaScript? Want it?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • atomic

    Write ClojureScript in JavaScript without a transpiler. (by mlanza)

  • I've watched a lot of talks, but it was Rich Hickey's which most captivated me and, ultimately, inspired big change in how I coded. After discovering Clojure I was so desiring FP (i.e. ClojureScript) in the browser without a build step and hoard of dependencies that I wrote my own library.

  • proposal-first-class-protocols

    a proposal to bring protocol-based interfaces to ECMAScript users

  • I'm a web guy. And the browser is my canvas. So JavaScript is my bread and butter. But I've been dying to have more FP goodness in JavaScript. I've eagerly awaited pipelined and partial application (affording tacit style) and records and tuples (immutability all the things!). Once it gets first-class protocols it'll be near full-on Clojure in the browser.

  • 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.

    InfluxDB logo
  • proposal-command-syntax

    Proposal: Command Syntax for JavaScript

  • And quick aside. Command-Query Separation. This is FP, right? Is it something which plays heavily into how you think about and write code? For me, it's a resounding yes! I made a proposal for JavaScript called Command Syntax which leans heavily on CQS and FP thinking, but at times in discussions with other JS devs I don't usually sense a deep FP connection. I feel like I'm speaking another language to another community with different cares.

  • purely-functional-data-structures

    TypeScript implementations and exercises from Chris Okasaki's book, Purely Functional Data Structures

  • The lack of tail call recursion makes JS a bit less attractive for pure FP everywhere. Though I did write a library of JS data structures based on this book, and even a virtual call stack library.

  • tallstack

    A small library (<11 kB) which defines tail recursive functions in JavaScript which avoid call stack overflow.

  • The lack of tail call recursion makes JS a bit less attractive for pure FP everywhere. Though I did write a library of JS data structures based on this book, and even a virtual call stack library.

  • WorkOS

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

    WorkOS logo
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