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

@esimplicity/prima-code

v0.2.0

Published

Prima Code is a cross-platform command-line workspace assistant. It gives you an interactive shell for searching, editing, and reasoning inside your repositories with the help of the Prima agent.

Downloads

379

Readme

Prima Code CLI

Prima Code is a cross-platform command-line workspace assistant. It gives you an interactive shell for searching, editing, and reasoning inside your repositories with the help of the Prima agent.

Install from npm

npm install -g @esimplicity/prima-code

Requirements

  • macOS, Linux, or Windows (x64 or arm64)
  • Node.js 16+ and npm (or use corepack to manage npm versions)
  • A Prima governance platform

Quick start

  1. Authenticate with npm (if your organization requires it) and install the package globally.
  2. Create a config.toml at ~/.prima/config.toml that looks similar to:
     approval_policy = "on-request"
     sandbox_mode = "workspace-write"
       
     platform_url = "http://api.<yoursite>.com/engine/aiox/"
     control_tower_url = "http://api.<yoursite>.com/control_tower/"
        
     [model_providers.prima]
     name = "OpenAI"
     base_url = "http://api.<yoursite>.com/engine/aiox/v1"
     env_key = "PRIMA_API_KEY"
     wire_api = "chat"
    
     [profiles.prima]
     model_provider = "prima"
     model = "prima-gpt-5"
     prima_workspace = "Test Workspace"
  3. Launch the CLI:
    prima
  4. Follow the on-screen prompts. Press Ctrl+C to exit.

Updating

To upgrade to the latest published version:

npm update -g @esimplicity/prima-code

Check the current version with:

prima --version

Configuration

  • Prima uses the config.toml to load the models and workspaces available via prima.
  • Additional settings can be provided through the CLI flags; run prima --help for details.
  • Proxy or custom CA environments should configure standard Node.js variables (HTTPS_PROXY, NODE_EXTRA_CA_CERTS, etc.).

Troubleshooting

  • Binary not found: Reinstall the package or ensure that your global npm bin directory (e.g., ~/.npm-global/bin) is on PATH.
  • Permission errors on install: Use npm config set prefix ~/.npm-global or install via fnm/nvm-managed Node to avoid using sudo.
  • 401 or rate limits from Prima: Verify the API key, usage quotas, and network connectivity.

Contributing

Issues and pull requests are welcome. Please use the repository issue tracker to report bugs or request features. When contributing code, run cargo fmt, cargo test, and follow the project’s linting rules described in the codex-rs README and the /codex-cli/scripts documentation.