NPM Advisories complete data dump

Hello

I am looking to get complete dump of all advisories and their information (like which component is affected due to this etc.)
So is there any API from where I can get it?

I tried 2 things :

  1. registy.npmjs.org/-/npm/v1/security/audits/{Module_Name} --> In this case I get advisory info for component but cannot get all advisories in one go.
    Is there any endpoint to this API which can give me desired result?

Second thing that I tried was with a curl command:
curl -L https://www.npmjs.com/advisories?perPage=2000 -H ‘X-Spiferack: 1’

Is there any better solution that this which has been out there from npm?

Any help is much appreciated!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.