CssChain & ApiChain Utility
JSON →css-chain-test (version 1.1.9) is a JavaScript/TypeScript package that serves as a demonstration and test suite for the underlying `CssChain` and `ApiChain` modules. These modules provide a lightweight, chainable API for manipulating collections of DOM elements or plain JavaScript objects. `CssChain` extends native DOM element methods and Array prototypes to allow for fluent, jQuery-like selection and manipulation, enabling operations such as adding event listeners or setting attributes on multiple elements in a single chained call. `ApiChain` offers similar chaining capabilities for arbitrary arrays of JavaScript objects. The package features recent updates focusing on improved TypeScript typings, enhanced shadow DOM support, and unified chain return types. It distinguishes itself by directly extending native browser APIs with a focus on a minimal footprint and modern module support, offering an alternative to heavier DOM manipulation libraries. The release cadence appears active, with frequent minor updates addressing features and typings.
Traffic · last 30 days ↑400% vs prev 7d
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · PT · 🇩🇪 Germany