JSPM

Found 66 results for polymorphism

protoduck

Fancy duck typing for the most serious of ducks.

  • v5.0.1
  • 92.87
  • Published

genfun

Fast, prototype-friendly multimethods.

  • v5.0.0
  • 89.87
  • Published

react-polymorphic-box

Building blocks for strongly typed polymorphic components in React.

  • v3.0.3
  • 68.62
  • Published

method

Functional polymorphic method dispatch

  • v2.0.0
  • 56.76
  • Published

polymorf

Polymorphic function dispatch

  • v1.1.0
  • 38.89
  • Published

@qxip/plugnplay

Plugin system for reusable code in node.js

  • v3.3.1
  • 38.65
  • Published

plugnplay

Plugin system for reusable code in node.js

  • v3.15.1
  • 36.59
  • Published

morphic

Ad-hoc polymorphism / pattern matching / destructuring for function parameters

  • v1.0.16
  • 35.31
  • Published

monguito

MongoDB Abstract Repository implementation for Node.js

  • v6.1.3
  • 34.13
  • Published

@rustable/trait

A TypeScript library that implements Rust-like traits with compile-time type checking and runtime verification.

  • v0.4.12
  • 30.79
  • Published

@polyn/blueprint

An easy to use, flexible, and powerful validation library for nodejs and browsers

  • v2.7.0
  • 29.62
  • Published

@dipscope/enumeration

Powerful enums for TypeScript and JavaScript, enhancing code clarity and type safety.

  • v1.0.2
  • 29.06
  • Published

@polyn/immutable

Define object schema's for validation, and construction of immutable objects

  • v1.1.2
  • 28.65
  • Published

polyn

polyn is a collection of Node and browser compatible JavaScript utilities that focus on polymorphism

  • v1.10.2
  • 25.47
  • Published

estructura-js

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.

  • v1.18.0
  • 22.75
  • Published

reflectype

Support types for Javascript class's property using decorator feature

  • v1.0.0-rc.2
  • 22.13
  • Published

@okzgn/estructura-js

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.

  • v1.18.0
  • 22.02
  • Published

clazz-js

Portable JavaScript library for class-style OOP programming

  • v0.5.2
  • 21.65
  • Published

@betafcc/overload

Utility for creating polymorphic functions

  • v0.3.0
  • 21.02
  • Published

shulk

Attempt to bring functionnal programming concepts to TypeScript

  • v0.15.0
  • 20.89
  • Published

react-polybox

React polymorphic component

  • v2.0.1
  • 20.20
  • Published

js-dynamic-function

动态函数,类似于多态函数,但不限于按参数类型条件切换执行体

  • v0.0.3
  • 20.03
  • Published

parametrize

Simple library allowing for adhoc polymorphism with javascript functions

  • v0.2.4
  • 19.00
  • Published

@okzgn/estructura

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.

  • v1.18.0
  • 18.59
  • Published

crx-oop

Object Oriented Programming (Classical), and Prototype Object Based Programming for Javascript

  • v2.6.7
  • 17.83
  • Published

reorg

Simple functional polymorphism

  • v1.0.0
  • 17.62
  • Published

polygamous

Clojure-style multi-methods for JavaScript.

  • v1.0.3
  • 17.58
  • Published

@zkat/protocols

Multi-type protocol-based polymorphism

  • v2.0.1
  • 16.89
  • Published

fun-case

A functional switch-case statement (ad hoc polymorphism)

  • v0.2.0
  • 16.73
  • Published

polyparams

Change your parameters position and/or their default value

  • v0.0.4
  • 15.77
  • Published

mire

Generic functions in JavaScript

  • v3.0.3
  • 15.08
  • Published

inet.ipaddr

IPAddress library for handling IP addresses, both IPv4 and IPv6

  • v0.0.1
  • 13.73
  • Published

trope

Object-oriented JS for everyone - Take full advantage of JavaScript prototypes plus extras (private state, multiple inheritance, and super functions).

  • v1.1.2
  • 13.47
  • Published

humble

Just a simple, stand-alone implementation of Object Oriented classes

  • v0.0.1-pre
  • 12.48
  • Published

polymorphism

Attaches a non-enumerable `extend` function to `Function.prototype`.

  • v0.1.0
  • 12.39
  • Published

jtypes

Scalable class-based JavaScript.

  • v2.2.3
  • 12.16
  • Published

mongoose-polymer

Polymorphic association for mongoose

  • v0.1.0
  • 11.66
  • Published

guard-js

Elixir style guards for js. Function polymorphysm

  • v0.1.1
  • 11.09
  • Published

react-polymorphic-component

A successor to kripod's react-polymorphic-types to make it fully compatible with Typescript 5.

  • v2.0.1
  • 11.03
  • Published

protomorphism

Polymorphism via clojure-style protocols.

  • v1.0.1
  • 10.32
  • Published

pojopoly

A library for polymorphism with POJO object in TypeScript

  • v0.1.1
  • 10.30
  • Published

popo

Simple way to implement polymorphism in javascript

  • v0.1.0
  • 9.17
  • Published

@jabuco/plugnplay

Plugin system for reusable code in node.js

  • v3.6.1
  • 9.11
  • Published

polyfunc

A library to create polymorphic functions without the headache of TypeScript unions

  • v0.1.2
  • 8.97
  • Published

fffunction

Create polymorphic functions in typescript.

  • v0.1.0
  • 8.58
  • Published

typeable-array

A common TypeScript interface for Array and Typed arrays.

  • v1.0.0
  • 8.29
  • Published

mr95-oop-my-bank

Object Oriented Programming with TypeScript MyBank Console App.

    • v1.0.0
    • 8.24
    • Published

    hail-hydra

    Multistrategy Multiple Dispatch

    • v0.0.2
    • 8.14
    • Published

    ds.oop

    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,

    • v0.2.0
    • 7.22
    • Published

    tweed-env

    Runtime Environment Strategies for Tweed

    • v0.4.0
    • 7.15
    • Published

    mr95-oop-app

    OOP (object oriented programming) Introduction Explained with a TypeScript Console Application.

      • v1.0.0
      • 7.14
      • Published

      multimethod.js

      Multimethods in JavaScript (ala Clojure)

        • v0.0.2
        • 6.06
        • Published

        mixinify

        A small library to create factories with useful mixins-based inheritence. Inspired by React's createClass method.

        • v1.0.0
        • 5.88
        • Published