github.com/phelsen/funcl ↗
A functional library very heavily inspired by clojure
Open this visualization on its own page →
Contributors
3
Lines of Code
73
From
2019-04-18
To
2020-06-25
About phelsen/funcl
FunCl is a JavaScript utility library that brings functional programming concepts from Clojure into JavaScript. The library provides a collection of utility functions designed to make JavaScript programming more enjoyable and less error-prone by enabling a functional programming style with a familiar API for developers coming from Clojure.
The library emphasizes pragmatism over strict adherence to Clojure's design. It includes functions for common operations like filtering, mapping, transforming collections, and piping operations together. Notably, most functions support partial application, which allows them to work intuitively with the pipe function for composing operations. FunCl intentionally does not implement lazy collections or macros, choosing instead to focus on convenient utilities and JavaScript-friendly behavior.
The project is in alpha phase and available on npm for use in Node.js and browser environments with bundlers. It targets developers who appreciate functional programming patterns and want a more expressive, Clojure-inspired toolset for JavaScript. The library includes comprehensive API documentation and encourages testing to verify its behavior across different use cases.