npmpreflight
v0.1.0Pre-publish npm pack auditor: shipped files, size, secret-pattern leaks, missing fields.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
preflight_package
Audit a package directory before publishing: resolves the shipped file set from the files field and ignore rules, scans shipped files for secret patterns (private keys, token shapes), totals the size, and checks package.json for required fields, a bin target that exists, license, and publishConfig on scoped names. Verdict READY or FIX-FIRST with evidence.
| Parameter | Type | Description |
|---|---|---|
path * | string | Target path to check |