JSPM

Found 27 results for multimethod

genfun

Fast, prototype-friendly multimethods.

  • v5.0.0
  • 100.06
  • Published

protoduck

Fancy duck typing for the most serious of ducks.

  • v5.0.1
  • 95.35
  • Published

multiple-dispatch

mms for JavaScript and Node written in TypeScript

  • v1.0.0
  • 44.25
  • Published

@stdlib/strided-dispatch

Create a strided array function interface which performs multiple dispatch.

  • v0.2.2
  • 41.37
  • Published

multimethods

fast and flexible pattern matching control flow in JavaScript

  • v1.0.1
  • 24.31
  • Published

@stdlib/ndarray-dispatch

Create an ndarray function interface which performs multiple dispatch.

  • v0.2.2
  • 23.24
  • Published

reflectype

Support types for Javascript class's property using decorator feature

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

@zkat/protocols

Multi-type protocol-based polymorphism

  • v2.0.1
  • 19.47
  • Published

@arrows/arrows

Meta package of functional libraries

  • v0.5.0
  • 17.53
  • Published

basketcase

JavaScript algebraic data types, pattern matching and multi methods

  • v0.0.3
  • 16.82
  • Published

js-clos

CLOS-like object system

  • v0.1.4
  • 15.53
  • Published

tiny-multimethods

Tiny port of Clojure's multimethods with zero dependencies and 30 LOC.

  • v0.0.4
  • 15.39
  • Published

arify

JavaScript function overloading. Let your function focus on its function.

  • v0.7.0
  • 14.83
  • Published

fnoverload

Help library for function overloading in JavaScript

  • v1.1.5
  • 14.79
  • Published

overloadjs

overload functions depending on the type using a multimethod

  • v0.3.0
  • 14.37
  • Published

redispatch

Dispatch Functions with late registration

  • v0.0.2
  • 14.01
  • Published

multimethod-type-tag-hierarchy

Recreation of clojure multimethods with a hierarchy based around typescript string literal templates and taged types.

  • v0.3.0
  • 13.56
  • Published

fp-multik

JS/TS lightweight value-multimethod util

  • v0.1.3
  • 12.79
  • Published

@stdlib/ndarray-dispatch-by

Create an ndarray function interface which accepts a callback function and performs multiple dispatch.

  • v0.2.2
  • 12.62
  • Published

ts-multimethod

TypeScript multimethods inspired by Clojure multimethods

  • v0.2.0
  • 11.49
  • Published

multimethodjs

Simple multimethods for JavaScript for functional-style programming. Allows matching with equality or with a custom function.

  • v0.1.0
  • 10.13
  • Published

@stdlib/strided-dispatch-by

Create a strided array function interface which accepts a callback function and performs multiple dispatch.

  • v0.2.2
  • 9.58
  • Published