DOKK / manpages / debian 12 / pkg-js-tools / pkgjs-audit.1.en
PKGJS-AUDIT(1) User Commands PKGJS-AUDIT(1)

pkgjs-audit - pkgjs-audit

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.

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

Copyright © Yadd <yadd@debian.org>

Licensed under GPL-2+ (see /usr/share/common-licenses/GPL-2)

December 2022 pkgjs-audit 0.15.12