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

korekt-cli

v0.9.3

Published

AI-powered code review CLI - Keep your kode korekt

Downloads

1,903

Readme

Korekt CLI

npm version npm downloads license

AI-powered code review CLI - Keep your kode korekt

kk integrates seamlessly with your local Git workflow to provide intelligent code reviews powered by AI.

Features

  • AI-Powered Analysis: Get instant, intelligent code reviews with severity levels, categories, and actionable suggestions
  • Local Git Integration: Works with committed changes, staged changes, and unstaged modifications
  • Ticket Context Enrichment: Server-side ticket extraction from branch names and commit messages (Jira & Azure DevOps)
  • Beautiful Output: Color-coded issues with severity indicators, file locations, and suggested fixes
  • Ultra-Fast: Short command syntax (kk) for maximum developer efficiency

Installation

npm install -g korekt-cli

Quick Start

Configure the CLI with your API credentials:

kk config --key YOUR_API_KEY
kk config --endpoint https://api.korekt.ai/api/review

Run your first review:

# Review committed changes against a target branch
kk review main

# Review only staged changes
kk stg

# Review only unstaged changes
kk diff

Usage

Configuration

# Set API key
kk config --key YOUR_API_KEY

# Set API endpoint
kk config --endpoint https://api.korekt.ai/api/review

# Show current configuration
kk config --show

Review Commands

# Review committed changes (auto-detect base branch)
kk review

# Review against specific branch
kk review main

# Review with ignored files
kk review main --ignore "*.lock" "dist/*"

# Dry run (preview payload without sending)
kk review main --dry-run

# Output JSON for CI/CD integration
kk review main --json

# Review staged changes only
kk stg
# Aliases: kk staged, kk cached

# Review unstaged changes only
kk diff

# JSON output works with all review commands
kk stg --json
kk diff --json

Alternative Command

Both kk and korekt commands are available:

korekt review main  # Same as: kk review main

Environment Variables

You can also configure using environment variables:

export KOREKT_API_KEY="your-api-key"
export KOREKT_API_ENDPOINT="https://api.korekt.ai/api/review"

Note: Config file takes precedence over environment variables.

Help

For more options and detailed help:

kk --help
kk review --help

Development

To run tests:

npm test

License

MIT © Vladan Djokic

See LICENSE for details.