I want to search in the npm registry for packages from my node app, but I couldn't find a documented/official way to search programatically. Of course I could just use https://www.npmjs.com/search?q=
, but I rather not parse the HTML you'll get in return.
Is there a way to search the npm registry and get a JSON in return? Or do I have to use a third-party site, like https://api.npms.io/v2/search
?