47 packages found
Value management for React components.
Functional polymorphic method dispatch
Ad-hoc polymorphism / pattern matching / destructuring for function parameters
Object-oriented JS for everyone - Take full advantage of JavaScript prototypes plus extras (private state, multiple inheritance, and super functions).
Fancy duck typing for the most serious of ducks.
- oop
- util
- object oriented
- duck type
- ducktype
- ducktyping
- protocols
- multimethod
- clojure
- haskell
- rust
- generic
- functions
- clos
- View more
Polymorphic function dispatch
Define object schema's for validation, and construction of immutable objects
An easy to use, flexible, and powerful validation library for nodejs and browsers
polyn is a collection of Node and browser compatible JavaScript utilities that focus on polymorphism
Fast, prototype-friendly multimethods.
- clos
- functional
- oop
- util
- object oriented
- prototypes
- multimethod
- generic functions
- multiple dispatch
- polymorphism
- polymorphic
- protocols
Plugin system for reusable code in node.js
Elixir style guards for js. Function polymorphysm
Clojure-style multi-methods for JavaScript.
Attaches a non-enumerable `extend` function to `Function.prototype`.
A small library to create factories with useful mixins-based inheritence. Inspired by React's createClass method.
A functional switch-case statement (ad hoc polymorphism)
Powerful enums for TypeScript.
Simple way to implement polymorphism in javascript