🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@answerfox/cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@answerfox/cli

The `answerfox` command — runs audits, prints reports, explains checks.

latest
Source
npmnpm
Version
0.4.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@answerfox/cli

The answerfox command. Wraps the Answerfox audit engine for terminal + CI use.

v0.1.0. audit, explain, init, and add ship today. verify lands in a subsequent release.

Install

# As a one-off:
npx @answerfox/cli audit https://example.com

# Or globally:
pnpm add -g @answerfox/cli
answerfox audit https://example.com

Commands

answerfox audit <url>

Fetch the URL, run every registered check, print a human-readable report.

# Human report:
answerfox audit https://example.com

# Machine-readable JSON (for CI integration):
answerfox audit https://example.com --json

# CI gate — exits non-zero if score < threshold:
answerfox audit https://example.com --ci --min-score 80

# Disable colour (for non-TTY pipelines):
answerfox audit https://example.com --no-color
FlagDescriptionDefault
--jsonEmit machine-readable JSON to stdoutoff
--ciExit with code 1 if score < --min-scoreoff
--min-score <n>Threshold for --ci mode80
--no-colorDisable ANSI colourscolour on

Exit codes:

  • 0 — success (and, if --ci, score ≥ threshold)
  • 1 — CI threshold not met
  • 2 — argument error (bad URL, unknown flag)

answerfox explain <check-id>

Print full documentation for a single check.

answerfox explain A4

Outputs: description · category · severity + points · rationale · docs URL.

License

MIT © 2026 Anuj Ojha

FAQs

Package last updated on 19 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts