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

@dominic_n/react-dominic-logo-animation

v1.0.5

Published

An animated logo component built with React and Anime.js.

Readme

@dominic_n/react-dominic-logo-animation

Dominic Logo Animation

✨ Animated Dominic Logo Component

React component wrapping the complex Dominic logo animation built with Anime.js. It is fully responsive and safe for multiple instances on the same page.

📦 Installation

To use this component in your existing React project:

# Install the component from NPM
npm install @dominic_n/react-dominic-logo-animation

# Install the peer dependency, Anime.js
npm install animejs

💻 Usage

The component is exported as DominicLogo.


    
import DominicLogo from '@dominic_n/react-dominic-logo-animation'

function App() {
  return (
    // The logo will scale to the width of this container.
    <div style={{ maxWidth: '600px', margin: '50px auto', border: '1px solid #ddd' }}>
        <DominicLogo color="#333333" dotColor="#FF4136" />
    </div>
  );
}

⚙️ Props

| Prop Name | Type | Default Value | Description | | :--- | :--- | :--- | :--- | | color | string | #607b96 (or --primary-color) | Sets the stroke color of the letters (D, O, M, I, N, I, C). Accepts hex, RGB, or color names. | | dotColor | string | rgb(54, 196, 191) (or --secondary-color) | Sets the fill color of the bouncing dots. |

Note on Styling: If color and dotColor are not provided via props, the component will attempt to use the CSS variables --primary-color and --secondary-color from your global stylesheets before falling back to the hardcoded defaults.

🎨 Styling & Responsiveness

This component's full functionality and appearance depend on the included dominic-logo.css file.

    CSS Dependency: Ensure your build process is correctly loading the CSS file (this is handled automatically by the import inside the component in most modern React setups).

    Responsiveness: The component contains built-in logic (fitElementToParent) to automatically calculate its scale ratio and adjust its height to fit the current width of its immediate parent container.

🛠 Local Development & Building

For contributors or users who want to modify the source code:


## Local Setup (Assuming you have a test environment set up)
npm install
npm run dev

## Build (Compiles JSX into the distributable 'dist' folder)
npm run build