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

falcon-linter

v0.1.27

Published

An AI-powered 'Senior Engineer' that reviews pull requests and provides mentorship in the comments.

Readme

🚀 Falcon Linter: Your AI-Powered Senior Engineer for Code Reviews

npm version GitHub Workflow Status

Falcon Linter is a powerful command-line interface (CLI) tool that leverages Google's Gemini AI to provide automated, senior-engineer-level code reviews for your Pull Requests (PRs). It delivers structured, line-by-line feedback directly as comments on your PRs, fostering a mentorship-like experience for your team.

Our goal is to empower developers, especially junior engineers, with clear, actionable, and educational suggestions to elevate code quality.


✨ Key Features

  • 🤖 Senior Engineer Persona: Intelligent code reviews powered by Gemini AI, mimicking a senior engineer’s perspective.
  • 📝 Actionable Feedback with Diffs: Comments include currentCode and suggestedCode in a diff format for precise, easy-to-apply suggestions.
  • 🧠 Deep Contextual Analysis: Provides Gemini with full file content (old and new) and detailed diffs for highly relevant reviews.
  • 🎯 Flexible Review Levels: Choose line-level (granular, diff-based) or file-level (high-level summary) reviews.
  • 💅 Polished Markdown Output: Feedback is formatted in clean, readable Markdown with diff-style code blocks.
  • 🔄 Multi-Platform Support: Compatible with GitHub and Bitbucket.
  • ⚙️ Highly Configurable: Customize reviews with tailored prompts and style guides.
  • 🚀 CI/CD Integration: Seamlessly integrates into your CI/CD pipelines for automated workflows.

🚀 Getting Started

Prerequisites

Ensure you have the following before starting:

  • Node.js: Version 22 or later
  • GitHub or Bitbucket Account: For PR integration
  • Google Gemini API Key: Required for AI-powered reviews

Obtaining a Free Gemini API Key

  1. Visit Google AI Studio.
  2. Sign in with your Google account.
  3. Navigate to “Get API key” in the top left corner.
  4. Click “Create API key”.
  5. Copy the generated API key for use.

Installation

Install Falcon Linter globally via npm:

npm install -g falcon-linter

Alternatively, use npx for direct integration in CI/CD pipelines without global installation:

npx falcon-linter

🔧 CI/CD Integration

Falcon Linter is designed for seamless integration into your CI/CD workflows.

GitHub (GitHub Actions)

  1. Add Repository Secrets: Go to Settings > Secrets and variables > Actions in your repository. Add the following secrets:

    • FALCON_LINTER_GITHUB_TOKEN: A GitHub Personal Access Token with repo scope.
    • GEMINI_API_KEY: Your Google Gemini API key.
  2. Create a Workflow File: Create a file at .github/workflows/falcon-linter.yml with the following content:

    name: Falcon Linter PR Review
    
    on:
      pull_request:
        types: [opened, reopened, synchronize]
    
    jobs:
      review:
        runs-on: ubuntu-latest
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0 # Required to get full diff history
    
          - name: Setup Node.js
            uses: actions/setup-node@v4
            with:
              node-version: '22'
    
          - name: Install Falcon Linter
            run: npm install -g falcon-linter # Or use npx directly in the next step
    
          - name: Run Falcon Linter
            env:
              GITHUB_TOKEN: ${{ secrets.FALCON_LINTER_GITHUB_TOKEN }}
              GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
            run: |
              falcon-linter review --pr-url ${{ github.event.pull_request.html_url }}

Bitbucket (Bitbucket Pipelines)

(Example coming soon!)


📚 Documentation

For more detailed information, guides, and advanced configurations, please visit our official documentation site.


🤝 Contributing

We welcome contributions! Please see our CONTRIBUTING.md for details.


📄 License

This project is licensed under the MIT License.