3 ms·
> there is no overlap in the Venn diagram of "searching for a package" and "searching for information about a package". I don't know, if I want information abo
by unbalancedevh 4y ago
> there is no overlap in the Venn diagram of "searching for a package" and "searching for information about a package".
I don't know, if I want information about something, it seems pretty reasonable that I might do my search for that something.
- onion2k 4y agoIf that's the case then you're doing the second of the two searches, and if the NPM package wasn't in the results but its Github repo or homepage was you're still getting the results you wanted. For any search where you don't know what you want Google without NPM pages works fine. For any search where you do know what you want NPM's search function works fine. There isn't a case where you need Google to interleave pages from the wider internet with pages from NPM. You only think you want that because it's what you're used to, or because you use Google to do searches that you should really do on NPM instead.
- chatmasta 4y ago> if the NPM package wasn't in the results but its Github repo or homepage was you're still getting the results you wanted Or you're getting a GitHub page with a similar name, or worse, a malicious GitHub page that instructs you to download the npm package you're looking for from a typo squatted version of it.
- hombre_fatal 4y agoAlso NPM is the only source that can show you the code you're actually going to get whether you download and inspect the tarball or you use NPM's built-in code explorer. A github page really isn't what I want at all when asking questions about an npm package except for the fact that I'm used to its code browser, so I tend to click it out of habit.