JSPM

Found 84 results for polymorphic pattern

genfun

Fast, prototype-friendly multimethods.

  • v5.0.0
  • 86.44
  • Published

pop-iterate

A polymorphic iterate operator for arrays and other iterables

  • v1.0.1
  • 85.24
  • Published

pop-swap

Range content change operator for arrays and array-like objects

  • v1.0.0
  • 62.95
  • Published

pop-compare

Polymorphic deep comparison operator for arbitrary values

  • v1.0.0
  • 61.59
  • Published

pop-equals

Polymorphic deep equals operator

  • v1.0.0
  • 60.87
  • Published

pop-observe

Property, range, map, and set content change observers for arrays, objects, and other instances.

  • v2.0.2
  • 59.10
  • Published

pop-zip

Zip and unzip, also called matrix transpose

  • v1.0.0
  • 59.10
  • Published

pop-clear

Clears arrays, objects, and instances that implement the clear method.

  • v1.0.0
  • 59.09
  • Published

multimethods

fast and flexible pattern matching control flow in JavaScript

  • v1.0.1
  • 58.96
  • Published

pop-arrayify

Transforms various collections into arrays by whatever means they support

  • v1.0.0
  • 58.49
  • Published

pop-clone

A polymorphic clone operator for arbitrary object graphs

  • v1.0.1
  • 58.48
  • Published

pop-hash

A hash function for arbitrary objects

  • v1.0.1
  • 58.48
  • Published

typeorm-polymorphic

A repository for building typed polymorphic relationships

  • v1.1.0
  • 56.10
  • Published

@thi.ng/vectors

Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts

  • v8.6.14
  • 54.91
  • Published

@thi.ng/defmulti

Dynamic, extensible multiple dispatch via user supplied dispatch function.

  • v3.0.85
  • 53.01
  • Published

@klass/react

Class variant utility for React

  • v3.4.11
  • 49.18
  • Published

pending

Abstraction for pending values

  • v0.1.0
  • 46.87
  • Published

watchables

Watchable value abstraction

  • v0.1.0
  • 46.81
  • Published

@klass/preact

Class variant utility for Preact

  • v3.4.11
  • 46.61
  • Published

@klass/solid

Class variant utility for Solid

  • v3.4.11
  • 45.78
  • Published

@thi.ng/geom

Functional, polymorphic API for 2D geometry types & SVG generation

  • v8.3.8
  • 45.52
  • Published

monguito

MongoDB Abstract Repository implementation for Node.js

  • v6.1.3
  • 42.91
  • Published

@thi.ng/geom-axidraw

Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands

  • v1.0.61
  • 41.31
  • Published

nestjs-graphql-tools

Nestjs Graphql automation library for building performant API

  • v0.10.2
  • 39.99
  • Published

cpsfy

Tiny goodies for Continuation-Passing-Style functions

  • v6.2.0
  • 39.77
  • Published

stencyption

Military-grade JavaScript encryption with AES-256-GCM, polymorphic obfuscation, and anti-debugging protection. Each file gets unique encryption keys embedded in heavily obfuscated code.

    • v3.1.0
    • 38.98
    • Published

    @wherejuly/null-object

    The tiny polymorphic noop-behavior object to stub actual objects conditionally.

    • v1.0.2
    • 35.65
    • Published

    @thi.ng/tensors

    0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage

    • v0.10.8
    • 35.25
    • Published

    sails-hook-deep-orm

    Emanimation Technologies Deep ORM hook for Sails ORM. This introduces polymorphic associations, deep population, inclusive population syntax and more, [dynamic attribute methods, soft deletes]

    • v1.0.2
    • 33.96
    • Published

    polymorf

    Polymorphic function dispatch

    • v1.1.0
    • 32.52
    • Published

    erinlib-typeorm-polymorphic

    A repository for building typed polymorphic relationships. This repository is a fork from Ashleigh Simonelli's typeorm-polymorphic

    • v1.0.0
    • 32.00
    • Published

    polymorphic

    Create functions with different argument signatures for different code flows

    • v1.4.5
    • 31.80
    • Published

    react-class-variants

    Type-safe React variants API for dynamic CSS class composition

    • v2.0.0-alpha.1
    • 30.55
    • Published

    nestjs-graphql-easy

    A library for NestJS that implements a dataloader (including for polymorphic relation) for graphql, as well as automatic generation of arguments for filters, sorting and pagination, and their processing in the dataloader.

    • v3.1.5
    • 27.84
    • Published

    @bento/container

    Container component primitive - atomic building block for polymorphic rendering and slot composition

    • v0.1.1
    • 27.76
    • Published

    polymorphic-table

    A reusable polymorphic table component built with React + MUI.

    • v1.2.26
    • 25.03
    • Published

    tagged-ts

    A tagged unions code generation library for discriminating tastes

    • v0.2.0
    • 23.42
    • Published

    react-polymorphic-forwardref

    Provides an enhanced version of "React.forwardRef" to polymorph using the "as" prop.

    • v0.0.9
    • 21.66
    • Published

    with-polymorphic

    A Higher Order Component for React that enables polymorphic prop patterns.

    • v1.0.0
    • 19.52
    • Published

    react-polybox

    React polymorphic component

    • v2.0.1
    • 18.02
    • Published

    @klass/vue

    Class variant utility for Vue

    • v4.0.0-next.2
    • 15.66
    • Published

    @xbibzlibrary/obfuscator

    Advanced polymorphic obfuscation library for JavaScript, JSON and CSS with multi-layer encryption and browser compatibility

    • v1.0.1
    • 15.08
    • Published

    tiny-multimethods

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

    • v0.0.4
    • 15.03
    • Published

    js-dynamic-function

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

    • v0.0.3
    • 14.82
    • Published

    hookform-input

    Smart, polymorphic and typesafe Input component for react-hook-form

    • v2.1.0
    • 14.30
    • Published

    componex

    A powerful, type-safe component styling library for React that combines the best of CSS-in-JS, utility-first CSS, and component composition. Features include variant support, polymorphic components, and seamless TypeScript integration.

    • v1.0.4
    • 14.22
    • Published

    @klass/qwik

    Class variant utility for Qwik

    • v4.0.0-next.2
    • 13.97
    • Published

    @pulseui/core

    A production-ready, headless React UI component library offering maximum styling flexibility with robust TypeScript support and comprehensive accessibility features

    • v1.0.0
    • 12.71
    • Published

    @gryfnie/react-asyncify

    Say goodbye to messy async code! react-asyncify makes handling asynchronous operations in React a breeze. Whether you’re loading data, dealing with errors, or just want to keep your UI smooth and responsive, this simple, reusable polymorphic component has

      • v1.0.1
      • 12.48
      • Published

      factory-one

      Maintained version of factory zero package. Knex based fixtures seeding utility

      • v0.5.0
      • 12.46
      • Published

      factory-zero

      Knex based fixtures seeding utility

      • v0.4.3
      • 12.23
      • Published

      refine-d1

      A Refine cross database data provider with SQL support.

      • v0.3.3
      • 12.23
      • Published

      @embellish/react

      A lightweight React styling primitive, powered entirely by CSS and inline styles

      • v0.7.1
      • 11.92
      • Published

      mongoose-reactions

      TypeScript-friendly Mongoose plugin that adds polymorphic reaction support (likes, loves, haha, custom) to any Mongoose model.

      • v0.9.3
      • 11.82
      • Published

      plasmatic

      Web framework for polymorphic applications

      • v0.0.7
      • 11.70
      • Published

      lever-ui-eventbus

      A minimal TypeScript event bus: subscribe(Class, handler), async delivery, dead events, and polymorphic dispatch.

      • v0.1.2
      • 11.59
      • Published

      @pretty-poly/react

      A shadcn/ui compatible polymorphic React component library for creating resizable, responsive grid layouts

      • v0.2.0
      • 11.36
      • Published

      react-polymorphic-component

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

      • v2.0.1
      • 10.99
      • Published

      vue-morph

      Adds support for breakpoint dependent modules

        • v1.0.1
        • 9.13
        • Published

        mongoose-polymer

        Polymorphic association for mongoose

        • v0.1.0
        • 9.05
        • Published

        schema-morph

        A TypeScript library for schema validation, parsing, and data transformation with support for polymorphic structures, field matching, and synonym mapping.

        • v1.0.1
        • 8.50
        • Published

        polymorphic-as

        Polymorphic as prop api standard PoC. Brings composability to the polymorphic as prop.

        • v0.0.1
        • 7.60
        • Published

        morph.js

        Create JavaScript polymorphic functions using array-like syntax

        • v1.0.1
        • 7.02
        • Published

        adonis-lucid-polymorphic-ow

        Adonis Lucid ^4.1.0 Polymorphic Relations Support - Customized for Ow Interactive

        • v1.0.3
        • 7.02
        • Published

        @collections/zip

        Zip and unzip, also called matrix transpose

        • v1.0.0
        • 6.94
        • Published

        opt-args

        Simple function overloads for optional arguments

        • v1.0.1
        • 5.62
        • Published

        @prashantraghav/mpt-tree

        Creates tree structure of your multiple resources using polymorphic association. Algorithm used to access tree is Modified Preorder Traversal.

          • v1.0.1
          • 4.21
          • Published

          pojopoly

          A library for polymorphism with POJO object in TypeScript

          • v0.1.1
          • 2.51
          • Published