9 packages Open Source

npm Packages

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.com

All Packages

Tailwind CSS Hue Theme

tailwind-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

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

StorageManager.js

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

Maths.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

resourceloader-js

Dynamic resource loading for scripts, stylesheets, images, and JSON with promise-based sequencing and dependency management.

$ npm install resourceloader-js

Utility Helpers

@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

embed-manager

Lazy-loading and rendering of third-party embeds — YouTube, Vimeo, Twitch, CodePen, and websites — with consent-aware fallbacks.

$ npm install embed-manager

GetViewport

@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

Tailwind CSS Visibility

tailwindcss-visibility

A Tailwind CSS plugin adding content-visibility and contain-intrinsic-size utilities for rendering performance.

$ npm install tailwindcss-visibility