JavaScript Functional

Open-source JavaScript projects categorized as Functional

Top 11 JavaScript Functional Projects

  • fantasy-land

    Specification for interoperability of common algebraic structures in JavaScript

  • Project mention: Functional Programming 1 | news.ycombinator.com | 2023-08-16

    2. https://github.com/fantasyland/fantasy-land (A bit heavy on jargon)

    Note there is a python version of Ramda available on pypi and there’s a lot of FP tidbits inside JAX:

    3. https://pypi.org/project/ramda/ (Worth making your own version if you want to learn, though)

    4. For nested data, JAX tree_util is epic: https://jax.readthedocs.io/en/latest/jax.tree_util.html and also their curry implementation is funny: https://github.com/google/jax/blob/4ac2bdc2b1d71ec0010412a32...

    Anyway don’t put FP on a pedestal, main thing is to focus on the core principles of avoiding external mutation and making helper functions. Doesn’t always work because some languages like Rust don’t have legit support for currying (afaik in 2023 August), but in those cases you can hack it with builder methods to an extent.

    Finally, if you want to understand the middle of the midwit meme, check out this wiki article and connect the free monoid to the Kleene star (0 or more copies of your pattern) and Kleene plus (1 or more copies of your pattern). Those are also in regex so it can help you remember the regex symbols. https://en.wikipedia.org/wiki/Free_monoid?wprov=sfti1

    The simplest example might be {0}^* in which case

    0: “” // because we use *

  • folktale

    [not actively maintained!] A standard library for functional programming in JavaScript

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • partial.lenses

    Partial lenses is a comprehensive, high-performance optics library for JavaScript

  • bitECS

    Functional, minimal, data-oriented, ultra-high performance ECS library written in JavaScript

  • ferrum

    Features from the rust language in javascript: Provides Traits/Type classes & a hashing infrastructure and an advanced library for working with sequences/iterators in js (by adobe)

  • dataframe-js

    A javascript library providing a new data structure for datascientists and developpers

  • puresql

    ES6/7 ready SQL library for node.js inspired by Clojure's yesql

  • 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
  • eth-fun

    A functional and state-less library for the Ethereum JSON-RPC.

  • kesh

    A simple little programming language that could one day compile to JavaScript.

  • declarative-merge

    Merge objects/arrays declaratively

  • noLoopFor

    JavaScript library for making functional loops

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

JavaScript Functional related posts

  • Have any of you designed a conlang, and then designed a programming language based on the conlang or any fictional culture that would use it?

    2 projects | /r/ProgrammingLanguages | 30 Mar 2023
  • Too many words about Rust's function syntax

    1 project | /r/ProgrammingLanguages | 28 Jan 2023
  • Ask HN: Tools you have built for yourself?

    17 projects | news.ycombinator.com | 23 Jan 2023
  • How elaborate could/should a transducers combiner function be?

    2 projects | /r/functionalprogramming | 5 Jan 2023
  • General Functional Programming Resources

    3 projects | /r/functionalprogramming | 17 Dec 2022
  • Updates from the 93rd TC39 meeting

    2 projects | /r/javascript | 3 Dec 2022
  • Temporal Programming, a new name for an old paradigm

    3 projects | /r/ProgrammingLanguages | 27 Nov 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 May 2024
    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. Learn more →

Index

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

Project Stars
1 fantasy-land 9,999
2 folktale 2,038
3 partial.lenses 905
4 bitECS 841
5 ferrum 514
6 dataframe-js 457
7 puresql 50
8 eth-fun 26
9 kesh 19
10 declarative-merge 4
11 noLoopFor 3

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com