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 🙏

© 2025 – Pkg Stats / Ryan Hefner

withub-cli

v0.1.0

Published

wit CLI (Commander + Ink) skeleton

Downloads

95

Readme

wit CLI

Wit with Withub: A private, decentralized alternative to Git with GitHub, powered by Walrus. This CLI (Node.js/TypeScript, Commander + Ink) talks directly to Walrus decentralized storage instead of centralized hosts, targeting a single-branch, verifiable repository model with Sui state integration.

Requirements

  • Node.js >= 18.
  • Access to a Walrus relay (testnet by default); Sui RPC endpoints are configurable as the state layer evolves.

Install & Run

  • Global install: npm install -g withub-cli then wit --help.
  • On-demand: npx withub-cli --help (no global install needed).
  • Upgrade: npm install -g withub-cli@latest. Uninstall: npm uninstall -g withub-cli.

Quickstart

  • Initialize a repo scaffold in the current directory:
    wit init <repo-name>
    This creates .wit/, writes config.json with sensible defaults (Walrus testnet relay, author/key placeholders), and ensures .gitignore / .witignore include .wit/ and key paths.
  • Local VC workflow: wit status, wit add, wit reset / wit restore --staged, wit restore <paths>, wit commit, wit log, wit diff, wit checkout.
  • Storage experiments: wit push-blob / pull-blob; wit push-quilt / pull-quilt / quilt-cat / quilt-ls / quilt-cat-id; push-quilt-legacy / pull-quilt-legacy as archive fallback.
  • Colorized output can be toggled via --color / --no-color or env vars NO_COLOR / WIT_NO_COLOR.

Developer Scripts

  • npm ci: install dependencies deterministically.
  • npm run build: compile to dist/ (entry dist/index.js ships with shebang for npm shims).
  • npm start: run the compiled CLI locally.
  • npm run test:smoke: minimal smoke test.
  • prepublishOnly: runs npm run build && npm run test:smoke to guard against unbuilt or untested publishes.

Publish Checklist (manual)

  1. npm ci && npm run build.
  2. npm run test:smoke.
  3. npm pack and inspect the tarball (should contain dist/**, README.md, LICENSE, package.json; bin points to dist/index.js).
  4. npm publish (scope is already access: public; for prerelease use npm publish --tag next).
  5. Verify: npm info withub-cli version, npx withub-cli --version, optionally npm install -g withub-cli && wit --help for global smoke.

Current Scope

  • Local VC core: init, status, add, reset, restore, commit, log, diff, checkout.
  • Walrus storage flows: quilt/blob push/pull commands plus legacy archive fallback.
  • Remote/contract/Web flows are under active development; CLI surfaces will expand alongside Sui state and privacy (Seal) integration.