Ross ROSS = Recommend OSS · open-source software intelligence for agents

stampit-org/stampit

OOP is better with stamps: Composable object factories. observed · 2026-08-28

github.com/stampit-org/stampit · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

85/100

  • Activity 93
  • Release rhythm 67
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 134.5
  • age_days: 4952
  • days_rel: 62
  • days_push: 47
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

3009 stars · 102 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Stampit is a tiny (1.3KB gzipped) JavaScript/TypeScript library for building composable object factories called 'stamps', which merge methods, properties, deep properties, initializers, and statics via a standardized composition algorithm. It serves as a flexible alternative to ES6 classes, combining delegation, concatenation, and functional prototypal inheritance without class inheritance chains.

Use cases

  • compose objects from reusable behaviors in javascript
  • replace class inheritance with object composition
  • create factory functions with mixin-like behavior merging
  • implement multiple inheritance in javascript without prototype chains
  • do dependency injection through composable factories
  • share stateful behavior between browser and node code

When to choose

  • You want composition over inheritance with a standardized, well-specified algorithm and a <2KB footprint
  • You need to merge methods, properties, and initializers from many behaviors without class-chain coupling
  • You need a single module that works in browsers, Node, and bundlers with both ESM and CJS

When to avoid

  • Your codebase is firmly TypeScript class-based and you don't need runtime behavior composition
  • You expect framework-level features like reactive state, rendering, or lifecycle hooks beyond initializers
  • Your team is unwilling to learn the stamps specification and its composition semantics

Facets

library · maturity stable

developer-tools developer-tools web-development browser oop object-composition factory-functions stamps mixins prototypal-inheritance dependency-injection composition-over-inheritance typescript esm nodejs

5 sources

Member repositories

RepositoryRoleHealth v2
stampit-org/stampitmain85

For agents

markdown · JSON · MCP: product_card(name="stampit-org/stampit")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem