qmetrics.net

Stampit

Composable JavaScript object factory functions

Frameworks & PlatformsDesktop/CLI app
Stampit screenshot

Stampit implements the stamp specification: small composable factory functions for building objects via delegation, concatenation, or functional patterns.

Overview

Stampit is a compact JavaScript module that implements standardized composable factory functions called stamps. Instead of classic class inheritance chains, you merge methods, properties, static properties, and initializers from reusable stamps, then create instances by calling the stamp as a function rather than using new.

The library supports prototypal inheritance styles—delegation, concatenation, and functional composition—so you can combine behaviors without deep parent chains. Every initializer in a composed stamp runs with the same arguments, in composition order, which differs from manually calling super in class constructors. A composers feature lets you influence composition at runtime.

Stampit ships as a reference implementation of the stamp specification, with an ecosystem of related npm helper packages documented on the project site. Documentation contrasts stamps with classes using examples that split concerns such as Point, Circle, Colored, Tagged, and drawable graph primitives into separate composable units.

Install via npm for current major versions; the API is documented on the official site alongside quick-start examples and extended mini-blog tutorials.

Key features

  • Composable stamp factory functions
  • Multiple prototypal inheritance styles
  • Runtime composition via composers
  • Shared initializer argument lists
  • Methods and properties merging
  • Specification-aligned implementation
  • Helper ecosystem on npm
  • Function-call object creation

Use cases

  • Build objects from reusable behaviors
  • Avoid deep class inheritance trees
  • Mix methods and privileged data patterns
  • Model has-a and is-a composition
  • Prototype object-oriented designs in JavaScript

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT