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

cipher-scope

v0.1.0

Published

CLI that prints a branded ASCII banner plus auto-detected project info — configured via cipherscope.toml

Readme

CipherScope

Project context in your terminal — before you run anything.

CipherScope is a small CLI that prints a branded ASCII banner plus auto-detected project facts. Everything is controlled from one file: cipherscope.toml.

npm version npm downloads License: MIT Node.js

 ██████╗██╗██████╗ ██╗  ██╗███████╗██████╗ ███████╗ ██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██║██╔══██╗██║  ██║██╔════╝██╔══██╗██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║     ██║██████╔╝███████║█████╗  ██████╔╝███████╗██║     ██║   ██║██████╔╝█████╗
██║     ██║██╔═══╝ ██╔══██║██╔══╝  ██╔══██╗╚════██║██║     ██║   ██║██╔═══╝ ██╔══╝
╚██████╗██║██║     ██║  ██║███████╗██║  ██║███████║╚██████╗╚██████╔╝██║     ███████╗
 ╚═════╝╚═╝╚═╝     ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝     ╚══════╝

Project
  Env              development  (.env.development)
  Package Manager  pnpm
  Version          1.2.3

Developer
  Name     CipherUnits
  Website  https://cipherunits.xyz
  GitHub   https://github.com/cipherunits

Features

| Feature | What it does | | --- | --- | | ASCII banner | Renders [project].name in 5 weights (thinheavy) | | Project info | Auto-detects env profile, package manager, and app version | | Developer block | Name, website, and GitHub — clickable in supported terminals | | One config file | All toggles live in cipherscope.toml | | npm script hook | init injects cipherscope as the first script in package.json |

Coming later: Git status, Docker context, env var panel, themes, and cipher-scope run.


Install

npm install -g cipher-scope

Or use without a global install:

npx cipher-scope

Requires Node.js 18+.


Quick start

1. Initialize

In your project root:

npx cipher-scope

This will:

  1. Create cipherscope.toml
  2. Add this as the first script in package.json:
{
  "scripts": {
    "cipherscope": "cipher-scope banner",
    "dev": "next dev"
  }
}

2. Wire it into your workflow

{
  "scripts": {
    "cipherscope": "cipher-scope banner",
    "dev": "npm run cipherscope && next dev",
    "start": "npm run cipherscope && node dist/server.js"
  }
}

3. Run

npm run cipherscope
# or
npx cipher-scope banner

Configuration

All behavior is driven by cipherscope.toml.

[project]
name = "My Project"

[brand]
enabled = true
# thin | light | regular | bold | heavy
style = "heavy"

[info]
enabled = true
env = true
package_manager = true
version = true

[developer]
enabled = false
name = ""
website = ""
github = ""

[project]

| Key | Type | Default | Description | | --- | --- | --- | --- | | name | string | "My Project" | Text rendered in the ASCII banner |

[brand]

| Key | Type | Default | Description | | --- | --- | --- | --- | | enabled | bool | true | Show / hide the banner | | style | string | "heavy" | Banner weight |

Styles (thin → heavy):

| Value | Look | | --- | --- | | thin | Compact, small letters | | light | Slanted, light stroke | | regular | Classic standard | | bold | Large block letters | | heavy | Dense shadow block (ANSI Shadow) |

[info]

Auto-detected facts. Turn the whole block off with enabled, or toggle each row.

| Key | Type | Default | Description | | --- | --- | --- | --- | | enabled | bool | true | Show the project info block | | env | bool | true | Active .env profile (development, staging, …) | | package_manager | bool | true | npm / pnpm / yarn / bun (from lockfiles) | | version | bool | true | Version from the project’s package.json |

Env detection order

  1. NODE_ENV when set (development, staging, production, …)
  2. Otherwise the first existing file among:

.env.local.env.development / .env.dev.env.staging / .env.stage.env.production / .env.prod.env.test.env

Package manager detection

pnpm-lock.yamlyarn.lockbun.lock / bun.lockbpackage-lock.jsonnpm_config_user_agent

[developer]

| Key | Type | Default | Description | | --- | --- | --- | --- | | enabled | bool | false | Show the developer block | | name | string | "" | Person or team name | | website | string | "" | Website URL (OSC-8 link when supported) | | github | string | "" | GitHub URL (OSC-8 link when supported) |

Example:

[developer]
enabled = true
name = "CipherUnits"
website = "https://cipherunits.xyz"
github = "https://github.com/cipherunits"

CLI

| Command | Description | | --- | --- | | cipher-scope | Create cipherscope.toml + inject the npm script | | cipher-scope init | Same as above | | cipher-scope banner | Print banner, project info, and developer block |


Programmatic use

import {
  loadConfig,
  renderBanner,
  detectEnv,
  detectPackageManager,
  detectAppVersion,
} from "cipher-scope";

const config = loadConfig();
console.log(renderBanner(config.project.name, config.brand.style));
console.log(detectEnv());
console.log(detectPackageManager());
console.log(detectAppVersion());

Development

git clone https://github.com/cipherunits/CipherScope.git
cd CipherScope
pnpm install
pnpm build

License

MIT © CipherUnits