npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@bg-effects/iridescence

v1.0.3

Published

Iridescence GL Effect - A mesmerizing iridescent background effect built with OGL and Vue.

Downloads

219

Readme

@bg-effects/iridescence

English | 简体中文

A mesmerizing iridescent background effect that creates flowing, color-shifting patterns with WebGL.


Features

  • 🌈 Dynamic Iridescence: Real-time color-shifting patterns with adjustable intensity
  • Performance Optimized: Efficient WebGL shaders for smooth 60fps animation
  • 🎛️ Interactive Controls: Real-time parameter adjustment via debug panel
  • 🌍 Multi-language Support: Built-in Chinese and English localization
  • 📦 Easy Integration: Simple Vue component with minimal configuration

Installation

pnpm add @bg-effects/iridescence ogl

Note: ogl is a peer dependency and needs to be installed manually.

Quick Start

<script setup>
import { Iridescence } from '@bg-effects/iridescence'
</script>

<template>
  <div style="width: 100vw; height: 100vh;">
    <Iridescence 
      color="#ffffff"
      :speed="1.0"
      :scale="1.0"
      :iridescence="1.0"
      :grain="0.05"
    />
  </div>
</template>

API Reference

Props

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | color | string | '#ffffff' | Base color for the effect (hex string) | | speed | number | 1.0 | Animation speed (0.1 - 5.0) | | scale | number | 1.0 | Pattern scale (0.5 - 3.0) | | iridescence | number | 1.0 | Iridescence intensity (0.0 - 2.0) | | grain | number | 0.05 | Noise grain amount (0.0 - 0.2) | | debug | boolean | false | Enable debug panel | | lang | 'zh-CN' \| 'en' | 'zh-CN' | UI language |

Presets

The component includes several built-in presets:

  • Default: Balanced settings for general use
  • Energetic: High-speed, vibrant patterns
  • Calm: Slow, peaceful animations

Local Development

# Install dependencies
pnpm install

# Build the package
pnpm build

# Type checking
pnpm typecheck

License

MIT