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

@dloizides/logo-kit

v0.9.0

Published

Logo generator for every brand: seeded mark variants, small-size, contrast, CVD and sensitive-symbol checks, motion presets by layer name, palette variants from design tokens, and the full export set from one brand.json. No network, no LLM.

Readme

@dloizides/logo-kit

One brand.json, every logo asset. No network and no LLM calls.

  • logo-kit export brand.json --out export/ writes icons, favicon, og card, landing card, header lockups, intro and micro motion SVGs and a brand-<slug>/markGeometry.ts module.
  • logo-kit generate brand.json --seed 7 --count 200 --out variants/ writes seeded mark variants and checks-7.json (dropped variants carry their reasons).
  • logo-kit pick brand.json --out pick/ [--builder build-pick-page.mjs] writes a shape, colour and motion pick spec with frames, and builds the page when given the builder.
  • logo-kit check brand.json runs the checks on the brand's own mark.

Checks: 16/32 px legibility, one colour, reversed, contrast >= 3:1 on light and dark, colour-blind (protan, deutan, tritan) and a sensitive-symbol lookalike check over 13 symbols.

Motion presets: draw, flood, stagger-rise, scale-pop, orbit, wipe, morph-from-circle, sweep, pulse, fade, turn-in (intro) and spread, pulse, sweep, turn-by (micro). Recipes light-then-turn (intro: base fades, parts turn in 360/n deg) and symmetry-turn (micro: parts turn 360/n deg and land on the still; set symmetry to the mark's rotational order). Intro <= 1200 ms and micro <= 300 ms unless motion.allowLongIntro names a reason. Reduced motion shows the final still.

Examples (made-up brands): examples/quillo/brand.json, examples/tarn/brand.json.

Raster logos

For a logo that exists only as an image (PNG, WebP), motion acts on the whole image. Colours come in as options (pass design-token values); nothing brand-specific is in the package.

  • rasterMarkup(src, alt, { width }) returns the layered HTML; rasterMotion({ intro, micro, idle }, { glowColour, bandColour }) returns { css, introMs, microMs, periodMs, unknown }.
  • Intros: fade-up, scale-settle, mask-wipe, light-sweep, focus-in, glow-sweep, punch-sweep, double-sweep, burst-settle, tilt-sweep (<= 1200 ms). Micros: pulse, glint, nudge, underline-draw (<= 300 ms). Idle loops: slow-glint, glow-breathe, sheen-drift, soft-lift, twin-shimmer (6-8 s, starting when the intro ends).
  • Browser: startRasterMotion(host, { idle: true }) from @dloizides/logo-kit/runtime returns { micro, stop }, pauses while the tab is hidden and does nothing under reduced motion, where the CSS shows the still.
  • React / React Native: import { MotionLogo } from '@dloizides/logo-kit/react' (react and react-native are optional peers). Props src, label (re-read on change), hint, intro / micro / idle preset names, glowColour, bandColour, width, aspectRatio, testID; the ref exposes micro(). On native it renders a still Image; under reduced motion the still stays.

Brand runtime

A brand's brand.json lives in its owner's private repo; this package holds only generic code.

  • logo-kit pull-brand <source brand.json> [--out brand/x.brand.json] copies it into a sibling app.
  • logo-kit check-brand-copy <copy> --source <source brand.json> exits 1 when the copy drifted.
  • Build time: resolveRuntime(loadBrand(file)) returns plain markup (intro + still per mode, wordmark, idle).
  • Browser: import { mountBrand } from '@dloizides/logo-kit/runtime'; mountBrand(host, runtime, { mode, showName }) returns unmount(). Under prefers-reduced-motion: reduce it mounts the still, no motion CSS, no idle.
  • Limit: the HTML wordmark has no glyph positions, so typewriter and mask-wipe play letter-stagger; runtime.limits names it.