All Projects → VitorLuizC → bitty

VitorLuizC / bitty

Licence: other
🗃 A mono-repository with functional programming helpers, algebraic data types, util functions, types and even some micro frameworks in TypeScript.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to bitty

Functionaljava
Functional programming in Java
Stars: ✭ 1,472 (+5351.85%)
Mutual labels:  algebraic-data-types
Remote Data Ts
RemoteData type
Stars: ✭ 185 (+585.19%)
Mutual labels:  algebraic-data-types
mir-core
Base software building blocks: Algebraic types (aka sumtype/tagged union/variant), universal reflection API, basic math, and more.
Stars: ✭ 23 (-14.81%)
Mutual labels:  algebraic-data-types
Adt
Algebraic data types for Python (experimental, not actively maintained)
Stars: ✭ 120 (+344.44%)
Mutual labels:  algebraic-data-types
Folktale
[not actively maintained!] A standard library for functional programming in JavaScript
Stars: ✭ 1,995 (+7288.89%)
Mutual labels:  algebraic-data-types
Mlstyle.jl
Julia functional programming infrastructures and metaprogramming facilities
Stars: ✭ 223 (+725.93%)
Mutual labels:  algebraic-data-types
Imtools
Fast and memory-efficient immutable collections and helper data structures
Stars: ✭ 85 (+214.81%)
Mutual labels:  algebraic-data-types
mutoid
Reactive library for data fetching, caching, state management
Stars: ✭ 24 (-11.11%)
Mutual labels:  algebraic-data-types
Fluture
🦋 Fantasy Land compliant (monadic) alternative to Promises
Stars: ✭ 2,249 (+8229.63%)
Mutual labels:  algebraic-data-types
dotvariant
A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)
Stars: ✭ 52 (+92.59%)
Mutual labels:  algebraic-data-types
Dataenum
Algebraic data types in Java.
Stars: ✭ 128 (+374.07%)
Mutual labels:  algebraic-data-types
Expat
Reusable, composable patterns across Elixir libraries
Stars: ✭ 157 (+481.48%)
Mutual labels:  algebraic-data-types
Poica
🧮 A research programming language on top of C macros
Stars: ✭ 231 (+755.56%)
Mutual labels:  algebraic-data-types
Datum
pure functional and generic programming for Erlang
Stars: ✭ 111 (+311.11%)
Mutual labels:  algebraic-data-types
heidi
heidi : tidy data in Haskell
Stars: ✭ 24 (-11.11%)
Mutual labels:  algebraic-data-types
Cl Algebraic Data Type
Algebraic data types in Common Lisp
Stars: ✭ 86 (+218.52%)
Mutual labels:  algebraic-data-types
Swift Enum Properties
🤝 Struct and enum data access in harmony.
Stars: ✭ 191 (+607.41%)
Mutual labels:  algebraic-data-types
vallang
Generic immutable recursive data representation API targeted at source code models and more.
Stars: ✭ 28 (+3.7%)
Mutual labels:  algebraic-data-types
typical
Data interchange with algebraic data types.
Stars: ✭ 114 (+322.22%)
Mutual labels:  algebraic-data-types
RemoteDataK
Algebraic data type (ADT) to represent the state of data that is loading from/to remote sources/destinations
Stars: ✭ 44 (+62.96%)
Mutual labels:  algebraic-data-types

🗃 @bitty

A mono-repository with functional programming helpers, algebraic data types, util functions, types and even some micro-frameworks in TypeScript. They were designed to support multiple environments (even older browsers and ESM Node.js).

  • 📦 Packages distributed in ESM, CommonJS, UMD and UMD minified formats.

  • Lightweight, tree-shakeable and side-effects free packages.

  • 🔋 Bateries included:

    • Little to none dependencies.

    • Almost every package work independently.

Packages

Package Description
@bitty/animate Create and manage animation functions with browser's AnimationFrame API.
@bitty/create-request Apply interceptors to fetch and create a custom request function.
@bitty/deferred It provides a function to create Deferred objects. They contain a Promise and methods to imperatively resolve or reject it.
@bitty/either An algebraic data type that represents a value of one of two possible types (a disjoint union).
@bitty/event-emitter Emit and listen events in any class, object or function without messing them extending classes.
@bitty/falsy Falsy helper functions and types for TypeScript.
@bitty/format-date A small library (around 400 B when gziped & minified) to format JavaScript Date object using same tokens as moment.
@bitty/get A really small and type-safe (requires TypeScript >= 4.1.3) function, that gets a nested value from an object using a path string (like "a.b[0].d"). If value is 'undefined' or unreachable returns the placeholder instead.
@bitty/insist Insistently runs a callback and only resolves the promise when its result is truthy.
@bitty/json Types and type-safe functions for JSON.
@bitty/maybe An algebraic data type that is a container for an optional values.
@bitty/nullish Nullish helper functions and types for TypeScript.
@bitty/pipe A pipe function to perform function composition in LTR (Left-To-Right) direction.
@bitty/predicate Predicate and Refinement types for TypeScript.

License

All the packages are released under MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].