pkgjs-audit(1)

pkgjs-audit1

Pkgjs-audit

Overview

Usage: pkgjs-audit <installed-module> # OR # pkgjs-audit -s <module> <version>

Unless -s option is used, pkgjs-audit searches for a pkgjs-lock.json file, if not found, it builds a temporary package-lock.json file using (dev)dependencies. Then it launches a "npm audit" using these files. This permits one to check vulnerabilities in case of bundled package.

If <module> is given, pkgjs-audit uses installed module, else it launch audit using current directory.

Options

-s: just query npmjs.org registry with a module name and its version

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From pkg-js-tools 0.15.23 in Debian 13 (Trixie). Parsed by carta from the page's man source.