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

@asyncinnovator/hallint-cli

v0.1.7

Published

CLI for hallint

Readme

@asyncinnovator/hallint-cli

CLI for hallint — detect security and quality issues in AI-generated code.

npm License: MIT Node


Install

Or run without installing:

npx @asyncinnovator/hallint-cli ./src

Requirements: Node.js >= 18


Usage

npx @asyncinnovator/hallint-cli [files] [options]

files accepts directories, file paths, and glob patterns:

npx @asyncinnovator/hallint-cli ./src
npx @asyncinnovator/hallint-cli "./src/**/*.ts"
npx @asyncinnovator/hallint-cli ./src/api.ts ./src/auth.ts

Options

| Flag | Description | Default | |---|---|---| | --rules | Rule set: recommended or all | recommended | | --min-severity | Minimum severity: critical high medium low info | info | | --no-color | Disable colored output | off | | --help | Show help | | | --version | Show version | |


Examples

# Scan a directory
npx @asyncinnovator/hallint-cli ./src

# Only critical and high findings
npx @asyncinnovator/hallint-cli ./src --min-severity high

# Run all available rules
npx @asyncinnovator/hallint-cli ./src --rules all

# Disable color (for CI logs)
npx @asyncinnovator/hallint-cli ./src --no-color

# Glob pattern
npx @asyncinnovator/hallint-cli "./src/**/*.ts" --min-severity high

Output

hallint scanning ./src...

/path/to/src/api/users.ts
  users.ts:14  CRITICAL  [hardcoded-secret]
  Hardcoded secret detected — API key, token, or password in source code
  > const API_KEY = "sk-abc123defgh456789xyz"
  fix: Move to environment variables: process.env.YOUR_SECRET_NAME

  users.ts:31  HIGH  [missing-auth-check]
  Route handler may be missing authentication middleware
  > router.get("/users", async (req, res) => {
  fix: Add auth middleware: router.get('/route', authenticate, handler)

Summary: 2 issue(s) in 1 file(s) — 18ms
  2 critical
  1 high

Exit codes

| Code | Meaning | |---|---| | 0 | No issues found | | 1 | One or more critical or high findings | | 2 | Unexpected error |

Exit code 1 on critical/high makes hallint suitable as a hard CI gate.


CI — GitHub Actions

name: hallint

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  hallint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 20
      - run: npx @asyncinnovator/hallint-cli ./src --min-severity high

CI — Pre-commit hook

Install husky:

npm install --save-dev husky
npx husky init
echo "npx @asyncinnovator/hallint-cli ./src --min-severity high" > .husky/pre-commit

Links