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

quirkatar

v1.1.2

Published

A free, lightweight, zero-dependency procedural avatar generator. Create unique, quirky profile pictures from any seed string.

Readme


Why Quirkatar?

Tired of boring default avatars? Your users deserve personality.

Quirkatar generates hilarious, memorable, and utterly unique avatars from any string. Same seed = same weirdo. Perfect for user profiles, team collabs, or just trolling your friends with cursed profile pics.

Avatar Grid

Features

| Feature | Description | |---------|-------------| | 🪶 Zero Dependencies | Pure vanilla JS + SVG. No bloat, no network requests, no drama | | 🎲 Deterministic Seeds | "[email protected]" always produces the same chaos | | 😊 6 Mood Controls | Happy, sad, angry, surprised, chill, or random | | 🎨 4 Color Palettes | Default, pastel, neon, monochrome | | 👀 14 Eye Types | Normal, cyclops, glasses, stars, hearts, wink, and more | | 😺 11 Mouth Styles | Smiles, fangs, tongues, teeth, zigzags... | | 👂 7 Ear Options | Cat, bear, bunny, alien, elf, robot, or none | | 🎩 8 Headwear | Hats, crowns, horns, headphones, bows | | 💾 Download as PNG | One-click export at 512x512 | | ⚡ Lightweight | ~10KB, loads instantly |

Quick Start

Browser (CDN)

<script src="https://unpkg.com/quirkatar"></script>
<div id="avatar"></div>
<script>
  // Random avatar
  document.getElementById('avatar').innerHTML = generateAvatarSvg('your-seed-here');
  
  // Happy avatar with neon colors
  document.getElementById('avatar').innerHTML = generateAvatarSvg('your-seed-here', { 
    mood: 'happy', 
    palette: 'neon',
    size: 200 
  });
</script>

npm

npm install quirkatar
import { generateAvatarSvg } from 'quirkatar';

// Generate a 200px happy avatar
const avatar = generateAvatarSvg('hello-world', { 
  size: 200, 
  mood: 'happy',
  palette: 'pastel'
});
document.getElementById('profile').innerHTML = avatar;

Vanilla HTML

Just download avatar.js and include it:

<script src="avatar.js"></script>

API

generateAvatarSvg(seed, options)

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | seed | string | required | Any string to generate the avatar from | | options.size | number | 100 | Width/height in pixels | | options.square | boolean | false | true for square, false for circle | | options.animated | boolean | true | Enable breathing, blinking, twitching animations | | options.mood | string | 'random' | 'random', 'happy', 'sad', 'angry', 'surprised', 'chill' | | options.palette | string | 'default' | 'default', 'pastel', 'neon', 'monochrome' | | options.eyebrows | boolean | true | Show expressive eyebrows |

Returns: SVG string ready to inject into DOM

Examples

// Default avatar
generateAvatarSvg('user123')

// Happy avatar with neon colors
generateAvatarSvg('user123', { mood: 'happy', palette: 'neon' })

// Sad avatar with pastel colors
generateAvatarSvg('user123', { mood: 'sad', palette: 'pastel', size: 200 })

// Large square avatar, no animation
generateAvatarSvg('team-member', { size: 256, square: true, animated: false })

// Use email as seed (consistent across sessions)
generateAvatarSvg('[email protected]', { size: 80, mood: 'chill' })

// Monochrome avatar for professional UI
generateAvatarSvg('user-id', { palette: 'monochrome', mood: 'chill' })

Use Cases

  • User Profiles - Default avatars that don't suck
  • Team Pages - Fun avatars for your team directory
  • Comment Systems - Anonymous but unique identities
  • Game Characters - Quick character generation
  • Demo Data - Placeholder avatars that look intentional
  • Social Experiments - Watch people argue over whose avatar is weirder

Combos for Days

With the current feature set, Quirkatar can generate:

8 head shapes × 7 ears × 14 eyes × 11 mouths × 7 accessories × 8 headwear × 3 cheeks × 4 eyebrows × 6 moods × 4 palettes =

~34 million unique avatars

...and that's not even counting color variations.

Browser Support

Works everywhere SVG works:

  • Chrome/Edge (all versions)
  • Firefox (all versions)
  • Safari 6+
  • Mobile browsers

Contributing

Found a bug? Want more cursed features?

  1. Fork it
  2. Create your feature branch (git checkout -b feature/amazing)
  3. Commit your changes (git commit -m 'Add more chaos')
  4. Push to the branch (git push origin feature/amazing)
  5. Open a Pull Request

License

MIT - Do whatever you want. Make the internet weirder. 🎉