Fudge is a library of Clojure-inspired functions for JavaScript. it is based on Squint with some modifications to make it suitable for direct use in JavaScript.
This project is experimental and there will likely be breaking changes. Do not use in production.
npm i fudgejs
Import functions from core.js and string.js as needed
import { not } from "fudgejs/core.js";
import { trim } from "fudgejs/string.js";
not(true);
// false
trim(" hello ");
// 'hello'
All functions are listed at https://philbaker.dev/fudge/index.html
Experiment with Fudge functions in the REPL by running node repl.js
.
Copyright © 2023 Phil Baker
Fudge is licensed under EPL v1.0. See LICENSE for more details.