Displaying 1 to 20 from 20 results

funfix - Functional Programming Library for JavaScript, TypeScript and Flow ✨⚡️

  •    TypeScript

Funfix is a library of type classes and data types for Functional Programming in JavaScript, TypeScript and Flow. Inspired by Scala, Cats and Monix.

midio - midio will work really hard to generate you endlessly interesting audio on the fly.

  •    TypeScript

midio is a web-based generative synthesizer "radio" which uses the Web Audio API and TypeScript to create intertwining, evolving musical phrases on the fly. midio started as a randomly generated sequence of MIDI notes based on a scale, then it was moved forward by my curiosity toward functional programming and the Web Audio API.




hyper-ts - Type safe middleware architecture for HTTP servers, a partial porting of https://github

  •    TypeScript

hyper-ts is an experimental middleware architecture for HTTP servers written in TypeScript. Its main focus is correctness and type-safety, using type-level information to enforce correct composition and abstraction for web servers.

logging-ts - Composable loggers for TypeScript

  •    TypeScript

A logger receives records and potentially performs some effects. You can create a logger from any function (a: A) => HKT<M, void> for any A and M.


monocle-ts - Functional optics: a (partial) porting of Scala monocle to TypeScript

  •    TypeScript

Modifying immutable nested object in JavaScript is verbose which makes code difficult to understand and reason about. Here modify lift a function string => string to a function Employee => Employee. It works but it would be clearer if we could zoom into the first character of a string with a Lens. However, we cannot write such a Lens because Lenses require the field they are directed at to be mandatory. In our case the first character of a string is optional as a string can be empty. So we need another abstraction that would be a sort of partial Lens, in monocle-ts it is called an Optional.

newtype-ts - Implementation of newtypes in TypeScript

  •    TypeScript

For the Iso type, see the monocle-ts documentation. For the Prism type, see the monocle-ts documentation.

functional-typescript-playground - A create-react-app based boilerplate featuring great functional programming oriented TypeScript-friendly libraries preinstalled for convenient forking & experimentation

  •    TypeScript

A create-react-app based boilerplate featuring great functional programming oriented TypeScript-friendly libraries preinstalled for convenient forking & experimentation

tsoption - Correct, easy to use Option type for TypeScript. 🦄

  •    TypeScript

Correct, easy to use Option type for TypeScript. Like Scala options; see the introductory blog post. Note: You can use JavaScript instead of TypeScript, but it's not as fun.

hareactive - Purely functional reactive programming library

  •    TypeScript

Hareactive is a purely functional reactive programming (FRP) library for JavaScript and TypeScript. It is simple to use, powerful, and performant. Hareactive is simple. It aims to have an API that is understandable and easy to use. It does that by making a clear distinction between semantics and implementation details. This means that the library implements a very simple mental model. By understanding this conceptual model the entire API can be understood.

funland - Type classes for interoperability of common algebraic structures in JavaScript, TypeScript and Flow

  •    TypeScript

Funland is a specification of common algebraic structures for JavaScript, TypeScript and Flow, based on Fantasy Land and compatible with static-land. Usage of laws mostly makes sense in tests, being built for property-based testing, so usage of jsverify is recommended, but not required.

purify - Functional programming library for TypeScript - https://gigobyte.github.io/purify/

  •    TypeScript

Purify is a library for functional programming in TypeScript. It's purpose is to allow developers to use popular patterns and abstractions that are available in most functional languages. It is also Fantasy Land conformant. Elegant and developer-friendly API - purify's design decisions are made with developer experience in mind. Purify doesn't try to change how you write TypeScript, instead it provides useful tools for making your code easier to read and maintain without resolving to hacks or scary type definitions.

sodium-typescript - Typescript/Javascript implementation of Sodium FRP (Functional Reactive Programming) library

  •    TypeScript

Install Node.js® and npm if they are not already on your machine. The usual npm run build/test/clean commands are available to produce the distribution package.

prelude

  •    TypeScript

It provides persistent immutable collections (Vector, Set, Map, Stream), and constructs such as Option, Either, Predicate and Future. The collections are also javascript iterables, so if you have an ES6 runtime, you can use the for .. of construct on them. If you're not familiar with immutable collections, list.append(newItem) keeps list unchanged; append() returns a new list. Immutability helps reasoning about code.