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

@kwirthmagnify/login-censor

v0.1.4

Published

Custom login page for Censor channel

Readme

Censor — login extension for Kwirth

Custom login page for the Censor channel. A login extension is a small bundle (a login.json config + optional background image) that Kwirth serves as the login screen; it is extensionType: "login" and installs from the npm tarball referenced in ../manifest.json.

Files

| File | Purpose | |---|---| | package.json | Metadata (id, displayName, version, extensionType: "login", website) + build scripts. | | login.json | Login page configuration (labels, colors, layout). See below. | | background.png | Full-page background image, 1200×896. | | build.mjs | Copies package.json + login.json + background.png into dist/ and packs dist/censor.tgz. | | watch.mjs | Rebuild on change (dev). |

login.json reference

{
  "startChannel": "censor",           // channel opened after login
  "userLabel": "User",                // field labels
  "passwordLabel": "Password",
  "newPasswordLabel": "New password",
  "repeatPasswordLabel": "Repeat new password",
  "changePasswordMessage": "Login successful. You can now set a new password.",
  "changePasswordButton": "Change password",
  "okButton": "Login",
  "textColor": "#ffffff",             // text color over the background
  "top": "62%",                       // form position/size (CSS units)
  "left": "3%",
  "width": "300px"
}

The background

Teal on near-black, following the same visual family as the other login backgrounds: a large faint wordmark, a central motif, circuit traces and a tagline. The motif is the channel's own job — noisy log lines, several with redacted fragments, funnelled down into a couple of clean ones.

The lower-left corner is deliberately darkened with a soft radial falloff, because that is where login.json places the form (top: 62%, left: 3%). If you move the form, re-check the contrast there: a lighter area under the fields makes the labels hard to read.

Build

npm run build          # → dist/{package.json, login.json, background.png, censor.tgz}

build.mjs reads the version from this package.json, so bump the version here and the built dist/package.json stays in sync.

Publish (bbpm)

npm version patch --no-git-tag-version   # bump
npm run build                            # regenerate dist/ at the new version
cd dist && npm publish --access public   # publish the npm package (tarball = the login bundle)

Then update the entry in ../manifest.json (version + url) so the catalog in Kwirth's Manage logins dialog offers the new version.

Install

  • From the catalog: Kwirth → Manage logins → install Censor (reads logins/manifest.json).
  • By URL: paste the npm tarball URL from the manifest into the custom-URL field.

The core downloads the tarball, extracts it, and (via LoginManager) serves any package whose package.json has extensionType: "login" as the login screen.