typosquat
v0.1.0Check dependency names against popular package names at small edit distance.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_typosquat
Check a repo's dependency names against a bundled snapshot of popular npm package names: any dependency at edit distance 1 from a popular name (distance 2 for names of 9+ chars) that is not itself the popular package is flagged as a possible typosquat, with the popular name it resembles. Verdict CLEAR or SUSPECT.
| Parameter | Type | Description |
|---|---|---|
path * | string | Target path to check |