Skip to content

philbaker/fudge

Repository files navigation

Fudge

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.

Status

This project is experimental and there will likely be breaking changes. Do not use in production.

Install

npm i fudgejs

Usage

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

REPL

Experiment with Fudge functions in the REPL by running node repl.js.

Inspired by

License

Copyright © 2023 Phil Baker

Fudge is licensed under EPL v1.0. See LICENSE for more details.

About

Clojure-inspired functions for JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published