List all public packages in the npm registry : <p>For research purposes, I'd like to list <em>all</em> the packages that are available on npm. How can I do this?</p>

<p>Some old docs at <a href="https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md#get-all" rel="noreferrer">https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md#get-all</a> mention an <code>/-/all</code> endpoint that presumably once worked, but <a href="http://registry.npmjs.org/-/all" rel="noreferrer">http://registry.npmjs.org/-/all</a> now just returns <code>{"message":"deprecated"}</code>.</p>
