JSPM

Found 66 results for polymorphism

protoduck

Fancy duck typing for the most serious of ducks.

  • v5.0.1
  • 90.01
  • Published

genfun

Fast, prototype-friendly multimethods.

  • v5.0.0
  • 89.40
  • Published

react-polymorphic-box

Building blocks for strongly typed polymorphic components in React.

  • v3.0.3
  • 67.01
  • Published

method

Functional polymorphic method dispatch

  • v2.0.0
  • 58.33
  • Published

@qxip/plugnplay

Plugin system for reusable code in node.js

  • v3.3.1
  • 38.76
  • Published

@polyn/blueprint

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

  • v2.7.0
  • 35.77
  • Published

@polyn/immutable

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

  • v1.1.2
  • 35.17
  • Published

polymorf

Polymorphic function dispatch

  • v1.1.0
  • 33.29
  • Published

monguito

MongoDB Abstract Repository implementation for Node.js

  • v6.1.3
  • 32.20
  • Published

@rustable/trait

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

  • v0.4.12
  • 30.85
  • Published

morphic

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

  • v1.0.16
  • 30.20
  • 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
  • 29.90
  • 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
  • 29.64
  • 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
  • 28.57
  • Published

fffunction

Create polymorphic functions in typescript.

  • v0.1.0
  • 25.18
  • Published

shulk

Attempt to bring functionnal programming concepts to TypeScript

  • v0.15.0
  • 24.22
  • Published

@dipscope/enumeration

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

  • v1.0.2
  • 22.41
  • Published

polyn

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

  • v1.10.2
  • 21.74
  • Published

react-polybox

React polymorphic component

  • v2.0.1
  • 19.53
  • Published

plugnplay

Plugin system for reusable code in node.js

  • v3.15.1
  • 19.20
  • Published

@zkat/protocols

Multi-type protocol-based polymorphism

  • v2.0.1
  • 18.28
  • Published

clazz-js

Portable JavaScript library for class-style OOP programming

  • v0.5.2
  • 18.15
  • Published

reflectype

Support types for Javascript class's property using decorator feature

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

humble

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

  • v0.0.1-pre
  • 14.18
  • Published

jtypes

Scalable class-based JavaScript.

  • v2.2.3
  • 13.86
  • Published

parametrize

Simple library allowing for adhoc polymorphism with javascript functions

  • v0.2.4
  • 13.55
  • Published

mire

Generic functions in JavaScript

  • v3.0.3
  • 12.08
  • Published

polygamous

Clojure-style multi-methods for JavaScript.

  • v1.0.3
  • 11.00
  • Published

js-dynamic-function

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

  • v0.0.3
  • 10.49
  • Published

mr95-oop-my-bank

Object Oriented Programming with TypeScript MyBank Console App.

    • v1.0.0
    • 10.48
    • Published

    fun-case

    A functional switch-case statement (ad hoc polymorphism)

    • v0.2.0
    • 10.16
    • 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
    • 9.81
    • Published

    guard-js

    Elixir style guards for js. Function polymorphysm

    • v0.1.1
    • 9.68
    • Published

    crx-oop

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

    • v2.6.7
    • 8.92
    • Published

    @betafcc/overload

    Utility for creating polymorphic functions

    • v0.3.0
    • 8.47
    • Published

    @jabuco/plugnplay

    Plugin system for reusable code in node.js

    • v3.6.1
    • 7.16
    • Published

    polyparams

    Change your parameters position and/or their default value

    • v0.0.4
    • 7.16
    • Published

    mongoose-polymer

    Polymorphic association for mongoose

    • v0.1.0
    • 7.07
    • Published

    typeable-array

    A common TypeScript interface for Array and Typed arrays.

    • v1.0.0
    • 6.06
    • Published

    polymorphism

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

    • v0.1.0
    • 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.91
    • Published

    protomorphism

    Polymorphism via clojure-style protocols.

    • v1.0.1
    • 5.91
    • Published

    reorg

    Simple functional polymorphism

    • v1.0.0
    • 5.90
    • Published

    pojopoly

    A library for polymorphism with POJO object in TypeScript

    • v0.1.1
    • 4.68
    • Published

    popo

    Simple way to implement polymorphism in javascript

    • v0.1.0
    • 4.58
    • 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
    • 4.52
    • Published

    hail-hydra

    Multistrategy Multiple Dispatch

    • v0.0.2
    • 4.49
    • Published

    inet.ipaddr

    IPAddress library for handling IP addresses, both IPv4 and IPv6

    • v0.0.1
    • 4.47
    • Published

    tweed-env

    Runtime Environment Strategies for Tweed

    • v0.4.0
    • 4.46
    • Published

    multimethod.js

    Multimethods in JavaScript (ala Clojure)

      • v0.0.2
      • 2.68
      • Published

      react-polymorphic-component

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

      • v2.0.1
      • 2.63
      • Published

      mr95-oop-app

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

        • v1.0.0
        • 2.63
        • Published

        polyfunc

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

        • v0.1.2
        • 0.00
        • Published