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

codika-os

v0.3.1

Published

CLI for codika-os — Codika's time/token/topic tracking system. Captures Claude Code session activity, classifies per topic, and syncs to the codika-os dashboard.

Readme

codika-os

CLI for codika-os — auth, profiles, and service operations from the terminal.

Scaffolded from codika-cli-template. See CLAUDE.md for the instantiation guide and conventions.

Install

npm install -g codika-os

Or run without installing:

npx codika-os --help

Quick start

New user (OTP signup)

codika-os auth signup-request --email [email protected]
# check your inbox for a 6-digit code
codika-os auth signup-complete --email [email protected] --code 123456
codika-os whoami

Existing user (OTP login)

codika-os auth login-request --email [email protected]
codika-os auth login-complete --email [email protected] --code 123456

Already have an API key from the dashboard

codika-os login                    # interactive, masked input
# or:
codika-os login --api-key <key>

Commands

| Command | What it does | |---|---| | codika-os auth signup-request --email <email> | Email a signup OTP to a new user | | codika-os auth signup-complete --email <email> --code <code> | Verify OTP, create org+user+key | | codika-os auth login-request --email <email> | Email a login OTP to an existing user | | codika-os auth login-complete --email <email> --code <code> | Verify OTP, mint a fresh key | | codika-os login | Paste an existing API key (alias of config set) | | codika-os logout [name] | Remove a profile (default: active) | | codika-os whoami | Show the current identity (calls /verifyApiKey) | | codika-os verify | Validate the active API key against the backend | | codika-os use [name] | Switch active profile or list profiles | | codika-os config show | Display all profiles | | codika-os config clear [--profile <name>] | Wipe config or one profile | | codika-os completion bash\|zsh\|fish | Generate a shell completion script | | codika-os completion --install | Auto-detect shell and install completion | | codika-os hello --message "hi" | EXAMPLE authenticated call — delete in your fork |

All commands accept --json for stable machine-readable output:

{ "success": true, "data": { ... } }
{ "success": false, "status": 401, "error": { "code": "unauthenticated", "message": "..." } }

Configuration

Profiles live at ~/.config/codika-os/config.json (mode 0600). Set XDG_CONFIG_HOME to override the base.

Resolution chains

| Value | Order | |---|---| | API key | --api-key flag → CODIKA_OS_API_KEY env → active profile → error | | Base URL | --api-url flag → CODIKA_OS_API_BASE_URL env → profile baseUrl → production | | Profile | --profile <name> flag → active profile |

Per-profile base URL

codika-os login --base-url http://localhost:5001/<project>/europe-west1 --name local
codika-os use local

Development

npm install
npm run build
npm test

npm link            # `codika-os` now on your PATH
codika-os --help

Target a non-production backend:

CODIKA_OS_API_BASE_URL=http://localhost:5001/<project>/europe-west1 codika-os whoami

Publishing

The v*.*.* tag triggers npm publish via GitHub Actions. See CLAUDE.md → "Publishing to npm".

npm version patch
git push --follow-tags

License

MIT