genfun
Fast, prototype-friendly multimethods.
Found 84 results for polymorphic pattern
Fast, prototype-friendly multimethods.
A polymorphic iterate operator for arrays and other iterables
Functional multimethod library
Range content change operator for arrays and array-like objects
Polymorphic deep comparison operator for arbitrary values
Polymorphic deep equals operator
Property, range, map, and set content change observers for arrays, objects, and other instances.
Zip and unzip, also called matrix transpose
Clears arrays, objects, and instances that implement the clear method.
fast and flexible pattern matching control flow in JavaScript
Transforms various collections into arrays by whatever means they support
A polymorphic clone operator for arbitrary object graphs
A hash function for arbitrary objects
A repository for building typed polymorphic relationships
Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
Dynamic, extensible multiple dispatch via user supplied dispatch function.
Class variant utility for React
Abstraction for pending values
Watchable value abstraction
Class variant utility for Preact
Class variant utility for Solid
Functional, polymorphic API for 2D geometry types & SVG generation
MongoDB Abstract Repository implementation for Node.js
Adonis Lucid ^4.1.0 Polymorphic Relations Support.
About Zero-runtime polymorphic component definitions for React
Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands
Nestjs Graphql automation library for building performant API
Tiny goodies for Continuation-Passing-Style functions
Military-grade JavaScript encryption with AES-256-GCM, polymorphic obfuscation, and anti-debugging protection. Each file gets unique encryption keys embedded in heavily obfuscated code.
<h1 align="center">@polymorphic-factory/react</h1>
The tiny polymorphic noop-behavior object to stub actual objects conditionally.
0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage
Emanimation Technologies Deep ORM hook for Sails ORM. This introduces polymorphic associations, deep population, inclusive population syntax and more, [dynamic attribute methods, soft deletes]
Polymorphic function dispatch
A repository for building typed polymorphic relationships. This repository is a fork from Ashleigh Simonelli's typeorm-polymorphic
Create functions with different argument signatures for different code flows
Type-safe React variants API for dynamic CSS class composition
A library for NestJS that implements a dataloader (including for polymorphic relation) for graphql, as well as automatic generation of arguments for filters, sorting and pagination, and their processing in the dataloader.
Container component primitive - atomic building block for polymorphic rendering and slot composition
A reusable polymorphic table component built with React + MUI.
<h1 align="center">@polymorphic-factory/solid</h1>
A tagged unions code generation library for discriminating tastes
Provides an enhanced version of "React.forwardRef" to polymorph using the "as" prop.
A Higher Order Component for React that enables polymorphic prop patterns.
React polymorphic component
Class variant utility for Vue
Advanced polymorphic obfuscation library for JavaScript, JSON and CSS with multi-layer encryption and browser compatibility
Tiny port of Clojure's multimethods with zero dependencies and 30 LOC.
动态函数,类似于多态函数,但不限于按参数类型条件切换执行体
Smart, polymorphic and typesafe Input component for react-hook-form
A powerful, type-safe component styling library for React that combines the best of CSS-in-JS, utility-first CSS, and component composition. Features include variant support, polymorphic components, and seamless TypeScript integration.
Class variant utility for Qwik
A production-ready, headless React UI component library offering maximum styling flexibility with robust TypeScript support and comprehensive accessibility features
Say goodbye to messy async code! react-asyncify makes handling asynchronous operations in React a breeze. Whether you’re loading data, dealing with errors, or just want to keep your UI smooth and responsive, this simple, reusable polymorphic component has
Maintained version of factory zero package. Knex based fixtures seeding utility
Knex based fixtures seeding utility
A Refine cross database data provider with SQL support.
A lightweight React styling primitive, powered entirely by CSS and inline styles
TypeScript-friendly Mongoose plugin that adds polymorphic reaction support (likes, loves, haha, custom) to any Mongoose model.
Web framework for polymorphic applications
A minimal TypeScript event bus: subscribe(Class, handler), async delivery, dead events, and polymorphic dispatch.
A shadcn/ui compatible polymorphic React component library for creating resizable, responsive grid layouts
A successor to kripod's react-polymorphic-types to make it fully compatible with Typescript 5.
A repository for building typed polymorphic relationships
typescript utility types
create polymorphic associations in mongoose
Adonis Lucid ^4.1.0 Polymorphic Relations Support.
A repository for building typed polymorphic relationships
TypeScript implementation of Clojure's multimethods.
Adds support for breakpoint dependent modules
Polymorphic association for mongoose
Adonis 4.x Lucid Polymorphic Relations Support.
A TypeScript library for schema validation, parsing, and data transformation with support for polymorphic structures, field matching, and synonym mapping.
<h1 align="center">@polymorphic-factory/preact</h1>
Adonis Lucid ^4.1.0 Polymorphic Relations Support.
Polymorphic as prop api standard PoC. Brings composability to the polymorphic as prop.
Create JavaScript polymorphic functions using array-like syntax
Adonis Lucid ^4.1.0 Polymorphic Relations Support - Customized for Ow Interactive
Zip and unzip, also called matrix transpose
Simple function overloads for optional arguments
Creates tree structure of your multiple resources using polymorphic association. Algorithm used to access tree is Modified Preorder Traversal.
Adonis Lucid ^4.1.0 Polymorphic Relations Support.
A library for polymorphism with POJO object in TypeScript
typeorm polymorphic relationships