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

@codacy/codacy-cloud-cli

v1.0.5

Published

A command-line tool to interact with Codacy Cloud from your terminal

Readme

Codacy Cloud CLI

A command-line tool to interact with Codacy Cloud directly from your terminal. Built with Node.js and TypeScript.

Installation

From npm

npm install -g "@codacy/codacy-cloud-cli"

From source

git clone https://github.com/alerizzo/codacy-cloud-cli.git
cd codacy-cloud-cli
npm install
npm run build
npm link

Authentication

Log in interactively (recommended):

codacy login

Or set the CODACY_API_TOKEN environment variable:

export CODACY_API_TOKEN=your-token-here

You can get a token from Codacy > My Account > Access Management > API Tokens (link).

The login command stores the token encrypted at ~/.codacy/credentials. The environment variable takes precedence over stored credentials when both are present.

Usage

codacy <command> [options]
codacy <command> --help   # Detailed usage for any command

Global Options

| Option | Description | |---|---| | -o, --output <format> | Output format: table (default) or json | | -V, --version | Show version | | -h, --help | Show help |

Commands

| Command | Description | |---|---| | login | Authenticate with Codacy by storing your API token | | logout | Remove stored Codacy API token | | info | Show authenticated user info and their organizations | | repositories <provider> <org> | List repositories for an organization | | repository <provider> <org> <repo> | Show metrics for a repository, or add/remove/follow/unfollow/reanalyze it | | issues <provider> <org> <repo> | Search issues in a repository with filters | | issue <provider> <org> <repo> <id> | Show details for a single issue, or ignore/unignore it | | findings <provider> <org> [repo] | Show security findings for a repository or organization | | finding <provider> <org> <id> | Show details for a single security finding, or ignore/unignore it | | pull-request <provider> <org> <repo> <pr> | Show PR analysis, issues, diff coverage, and changed files; or reanalyze it | | tools <provider> <org> <repo> | List analysis tools configured for a repository | | tool <provider> <org> <repo> <tool> | Enable, disable, or configure an analysis tool | | patterns <provider> <org> <repo> <tool> | List patterns for a tool, or bulk enable/disable them | | pattern <provider> <org> <repo> <tool> <id> | Enable, disable, or set parameters for a pattern |

Provider shortcodes: gh (GitHub), gl (GitLab), bb (Bitbucket).

Run codacy <command> --help for full argument and option details for any command.

Development

npm start -- <command>   # Run in development mode
npm test                 # Run tests
npm run type-check       # Type-check without emitting
npm run build            # Build for production
npm run update-api       # Update the auto-generated API client

CI/CD

  • CI: Runs on every push to main and on PRs. Builds and tests across Node.js 18, 20, and 22.
  • Publish: Triggered on GitHub release creation. Builds, tests, and publishes to npm with provenance.

To publish a new version:

  1. Update the version in package.json
  2. Create a GitHub release with a tag matching the version (e.g. v1.1.0)
  3. The publish workflow will automatically build and push to npm

Prerequisite: Add an NPM_TOKEN secret to your GitHub repository settings.

License

MIT