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

playglaze

v0.1.0

Published

Glossy, chunky game UI for React Native and the web, drawn in code in any color.

Readme

PlayGlaze

npm CI license

Glossy, chunky game UI for React Native and the web, drawn entirely in code. Every component takes any color: one base color makes the highlight, face, stripes and 3D lip.

UI only: no game logic, no images, no native code beyond react-native-svg.

Install

npm install playglaze react-native-svg
# or
yarn add playglaze react-native-svg

Needs React Native 0.77+ with the New Architecture (it uses boxShadow and backgroundImage styles), or react-native-web for websites.

Use

import { ThemeProvider, bright, GlossButton, Panel, Icon } from 'playglaze';

export default function Pause() {
  return (
    <ThemeProvider theme={{ ...bright, displayFont: 'LilitaOne' }}>
      <Panel title="Paused" onClose={close}>
        <GlossButton onPress={resume}><Icon name="play" size={32} /></GlossButton>
        <GlossButton color="red" title="Quit" onPress={quit} />
      </Panel>
    </ThemeProvider>
  );
}

Components

| Group | Components | |---|---| | Buttons | GlossButton, RoundButton, CloseButton | | Layout | Panel, Ribbon, Popup | | Navigation | Tabs, Segmented | | Data entry | Toggle, Checkbox, Slider, TextField | | Data display | Badge, Avatar, ProgressRing, Label, Icon (20 game icons) | | Game | ProgressBar, Star, Stars, LevelSlot, CounterPill, Coin, ShopTile, Hearts, DailyRewardDay, BoosterSlot, QuestCard, LeaderboardRow, RewardPop | | Theme | ThemeProvider, bright, dark, useTheme, useTone, color helpers |

Colors: orange, yellow, red, blue, purple, green, pink, gray, or any hex such as #14B8A6.

The docs also include 11 ready-made screens: Home, Game HUD, Level select, Pause, Level complete, Level failed, Daily reward, Shop, Quests, Leaderboard and Settings.

Docs site

The showcase in docs/ runs the same components through react-native-web (Vite).

cd docs && npm install && npm run dev

Deploy on Vercel: import the repo and set Root Directory to docs (framework: Vite).

Contributing

Pull requests are welcome — read CONTRIBUTING.md first. main is protected: every change goes through a reviewed pull request.

License

MIT