npm packages

JavaScript utilities

Tailwind plugins, JavaScript utilities, storage wrappers, embed helpers, and more. Each package is open source and has its own documentation page.

10 packages
3 Tailwind tools
0 runtime servers
OSS public source

All packages

Small utilities and plugins built around practical browser and build-tool needs.

Scaffolder

create-vvv

create-vvv

Production-ready Vue 3 + Vite + Vercel project scaffolder with Tailwind CSS v4, Pinia, optional Vue Router, serverless API routes, and automated testing.

$ npm create vvv@latest

Tailwind plugin

Tailwind CSS Hue Theme

tailwind-hue-theme

Tailwind CSS v4 plugin for dynamic OKLCH hue theming with an optional HuePicker widget.

$ npm install tailwind-hue-theme

GitHub widget

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

Storage

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

Math utilities

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

Loader

ResourceLoader.js

resourceloader-js

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

$ npm install resourceloader-js

Helpers

Utility Helpers

@peterbenoit/utility-helpers

A collection of JavaScript utility functions: debounce, throttle, deep clone, type guards, and more.

$ npm install @peterbenoit/utility-helpers

Embeds

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

Viewport

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 plugin

Tailwind CSS Visibility

tailwindcss-visibility

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

$ npm install tailwindcss-visibility