Tailwind plugins, JavaScript utilities, storage wrappers, embed helpers, and more — all available on the npm registry. Each package is open source and has its own documentation page.
View on npmjs.comtailwind-hue-theme
Tailwind CSS v4 plugin for dynamic OKLCH hue theming with an optional HuePicker widget. Change one hue value and your entire UI updates.
$ npm install tailwind-hue-theme
repowidget
A zero-dependency JavaScript widget that renders live GitHub repository cards on any website with a single script tag and function call.
$ npm install repowidget
web-storage-manager-js
Feature-rich localStorage/sessionStorage wrapper with expiration, compression, batch operations, and cross-tab event listeners.
$ npm install web-storage-manager-js
@peterbenoit/mathsjs
Lightweight JavaScript math utilities for statistics, number theory, and common numeric helpers. Under 1 kb, no dependencies.
$ npm install @peterbenoit/mathsjs
resourceloader-js
Dynamic resource loading for scripts, stylesheets, images, and JSON with promise-based sequencing and dependency management.
$ npm install resourceloader-js
@peterbenoit/utility-helpers
A comprehensive collection of JavaScript utility functions: debounce, throttle, deep clone, type guards, and more.
$ npm install @peterbenoit/utility-helpers
embed-manager
Lazy-loading and rendering of third-party embeds — YouTube, Vimeo, Twitch, CodePen, and websites — with consent-aware fallbacks.
$ npm install embed-manager
@peterbenoit/get-viewport
Lightweight JavaScript utility for responsive breakpoint detection using matchMedia. No polling, no resize events, no magic numbers.
$ npm install @peterbenoit/get-viewport