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

@nexub/brand

v10.0.0

Published

Official Nexub brand files: the Nexub mark (colour and mono SVG), app icon tiles, PNG icons and favicon.

Readme

@nexub/brand

The official Nexub brand files. Apps reference these instead of keeping their own copies.

pnpm add @nexub/brand

| File | What it is | |---|---| | nexub-mark.svg | The Nexub mark in brand colours. Verbatim copy of the master (5. Logos/Nexub Logo/icon_nexub.svg). | | nexub-mark-mono.svg | Single-colour mark (fill="currentColor"), derived from the master's shapes. | | app-icon.svg | App icon: dark glass rounded tile with the Nexub mark in violet. | | app-icon-192.png, app-icon-512.png | The same tile for web manifests. | | app-icon-account.svg, app-icon-account-192.png, app-icon-account-512.png | The Account tile: same tile, person glyph. | | app-icon-<product>.svg, -192.png, -512.png | Each Nexub app's tile, same tile with its own glyph: command-hub (a hub of agents), admin (a shield), people (two people), payhub (a banknote), commerce (a shopping bag), contracts (a signed page), leap (a leap forward), founder-hub (a rocket), mind (an idea), go (a chat bubble), verify (a check in a ring), forms (a form with a field). Every glyph is a violet line drawing; apps differ by shape, not colour. | | app-icon[-<product>]-light.svg | Every tile again on plain white with a deeper violet, for light themes. The dark glass tiles are for dark themes. | | favicon.ico | 16, 32 and 48 px, from app-icon.svg. | | mobile/<product>-ios.png | iOS app icon: 1024 px, full bleed, opaque (iOS draws the corners). <product> is nexub for the hub or a product id. | | mobile/<product>-android-{foreground,background,monochrome}.png | Android adaptive icon layers (432 px), glyph inside the safe zone; monochrome for Android 13+ themed icons. |

Every file is at @nexub/brand/<file> (the package maps ./* to assets/*).

In React UI, use <Logo> / <NexubMark> from @nexub/react / @nexub/icons rather than these files. They render the same mark from the brand tokens (--color-brand-mark-*), so there's no network request.

Vite apps

From code (e.g. AppLauncher icons): import the file. Vite copies it into the build and gives you a hashed URL.

import hubIcon from '@nexub/brand/app-icon.svg';
import accountIcon from '@nexub/brand/app-icon-account.svg';

<AppLauncher apps={[
  { id: 'hub', name: 'Command Hub', href: 'https://hub.nexub.ai', icon: hubIcon },
  { id: 'account', name: 'Account', href: 'https://account.nexub.ai', icon: accountIcon, current: true },
]} />

From index.html and the web manifest: these need fixed URLs, so copy the files into public/brand/ before dev and build. Add public/brand/ to .gitignore. It's a build output, not a copy you maintain.

// package.json
"scripts": {
  "brand": "node -e \"require('fs').cpSync('node_modules/@nexub/brand/assets', 'public/brand', { recursive: true })\"",
  "predev": "pnpm brand",
  "prebuild": "pnpm brand"
}
<!-- index.html -->
<link rel="icon" href="/brand/favicon.ico" sizes="48x48" />
<link rel="icon" href="/brand/app-icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/brand/app-icon-192.png" />
<link rel="manifest" href="/manifest.webmanifest" />
// public/manifest.webmanifest
"icons": [
  { "src": "/brand/app-icon-192.png", "sizes": "192x192", "type": "image/png" },
  { "src": "/brand/app-icon-512.png", "sizes": "512x512", "type": "image/png" }
]

For the Account app, use the app-icon-account* files in those places.

Expo / React Native apps

{
  "expo": {
    "icon": "./node_modules/@nexub/brand/assets/mobile/payhub-ios.png",
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./node_modules/@nexub/brand/assets/mobile/payhub-android-foreground.png",
        "backgroundImage": "./node_modules/@nexub/brand/assets/mobile/payhub-android-background.png",
        "monochromeImage": "./node_modules/@nexub/brand/assets/mobile/payhub-android-monochrome.png"
      }
    }
  }
}

Plain static serving (no bundler)

Copy the files next to your HTML as part of your deploy step, using the same cpSync line with your output folder (for example dist/brand). Then reference them as /brand/<file> exactly as above. Self-hosting keeps them same-origin, so a strict CSP (img-src 'self') needs no changes.

For a quick prototype you can also link the published files directly, e.g. https://cdn.jsdelivr.net/npm/@nexub/brand@1/assets/favicon.ico.

Adding a product tile

Every product gets the same tile with its own glyph. Don't edit the tile itself.

  1. Draw the glyph as line art on a 24 × 24 grid, the same way Lucide icons are drawn: paths, circles and rects only, with no colours, fills or stroke attributes. Save it as glyphs/<product>.svg (see glyphs/payhub.svg). The build draws it in violet with a 1.6 stroke and round ends.
  2. Add '<product>' to PRODUCTS in scripts/build-assets.mjs.
  3. Run pnpm --filter @nexub/brand build:assets and commit assets/app-icon-<product>* and assets/mobile/<product>-* (it also writes the -light.svg tile and the mobile icon set).

Keep one colour: don't give a glyph its own hue. The violet comes from the build, so every app stays in the same family.

The same script regenerates everything from the master, assets/nexub-mark.svg: the mono mark, every tile and PNG, the favicon, the --color-brand-mark-* tokens in @nexub/tokens, and the path data behind <NexubMark>. If the master changes, replace that file (verbatim, never redrawn) and run the script.