protoduck
Fancy duck typing for the most serious of ducks.
Found 66 results for polymorphism
Fancy duck typing for the most serious of ducks.
Fast, prototype-friendly multimethods.
Building blocks for strongly typed polymorphic components in React.
Zero-runtime polymorphic component definitions for React
Functional polymorphic method dispatch
Polymorphic function dispatch
Plugin system for reusable code in node.js
Plugin system for reusable code in node.js
Ad-hoc polymorphism / pattern matching / destructuring for function parameters
MongoDB Abstract Repository implementation for Node.js
A TypeScript library that implements Rust-like traits with compile-time type checking and runtime verification.
An easy to use, flexible, and powerful validation library for nodejs and browsers
Powerful enums for TypeScript and JavaScript, enhancing code clarity and type safety.
Define object schema's for validation, and construction of immutable objects
polyn is a collection of Node and browser compatible JavaScript utilities that focus on polymorphism
No more switch statements!
A lightweight dependency-free JavaScript framework that lets you assign functions to be automatically attached to custom or extended data types, based on one or multiple arguments.
Support types for Javascript class's property using decorator feature
A lightweight dependency-free JavaScript framework that lets you assign functions to be automatically attached to custom or extended data types, based on one or multiple arguments.
Portable JavaScript library for class-style OOP programming
Zero-runtime polymorphic component definitions for React
Utility for creating polymorphic functions
Attempt to bring functionnal programming concepts to TypeScript
React polymorphic component
动态函数,类似于多态函数,但不限于按参数类型条件切换执行体
Simple library allowing for adhoc polymorphism with javascript functions
A lightweight dependency-free JavaScript framework that lets you assign functions to be automatically attached to custom or extended data types, based on one or multiple arguments.
Object Oriented Programming (Classical), and Prototype Object Based Programming for Javascript
Simple functional polymorphism
Clojure-style multi-methods for JavaScript.
Multi-type protocol-based polymorphism
A functional switch-case statement (ad hoc polymorphism)
Change your parameters position and/or their default value
Generic functions in JavaScript
IPAddress library for handling IP addresses, both IPv4 and IPv6
Object-oriented JS for everyone - Take full advantage of JavaScript prototypes plus extras (private state, multiple inheritance, and super functions).
Just a simple, stand-alone implementation of Object Oriented classes
Attaches a non-enumerable `extend` function to `Function.prototype`.
Scalable class-based JavaScript.
Polymorphic association for mongoose
Elixir style guards for js. Function polymorphysm
A successor to kripod's react-polymorphic-types to make it fully compatible with Typescript 5.
Polymorphism via clojure-style protocols.
A library for polymorphism with POJO object in TypeScript
Simple way to implement polymorphism in javascript
Plugin system for reusable code in node.js
A library to create polymorphic functions without the headache of TypeScript unions
Create polymorphic functions in typescript.
A common TypeScript interface for Array and Typed arrays.
Object Oriented Programming with TypeScript MyBank Console App.
Multistrategy Multiple Dispatch
A very fast class framework. Allows OOP concepts in javascript including classes, inheritance, multi-inheritance, polymophism, interfaces, and enumerators without using TypeScript. Provides scope isolation via dependency injection in modules, controllers,
Runtime Environment Strategies for Tweed
OOP (object oriented programming) Introduction Explained with a TypeScript Console Application.
Multimethods in JavaScript (ala Clojure)
Clojure-inspired multimethods for JavaScript
A small library to create factories with useful mixins-based inheritence. Inspired by React's createClass method.
Utility types for React.