RetireJS / retire.js

scanner detecting the use of JavaScript libraries with known vulnerabilities. Can also generate an SBOM of the libraries it finds.
https://retirejs.github.io/retire.js/
Other
3.66k stars 414 forks source link

How set local jsrepository.json and npmrepository.json ? #313

Closed patsevanton closed 4 years ago

patsevanton commented 4 years ago

I use RetireJS without internet. How set local jsrepository.json and npmrepository.json ?

eoftedal commented 4 years ago

Use --jsrepo and --noderepo

$ retire --help
...
    --jsrepo <path|url>      Local or internal version of repo
    --noderepo <path|url>    Local or internal version of repo
...