Command Queue Module

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

A lightweight utility (v1.0.0, stable) for creating proxy modules that queue method calls before the actual module is loaded. Unlike heavier alternatives like lazy-async (20x larger), it focuses on minimal size and a simple API. The proxy mirrors the original API exactly; queued commands replay in order once the real implementation arrives. Ideal for deferring non-critical libraries (e.g., analytics) while still collecting calls early.