News for hackers. Stuff that matters.
Re:Show HN: See what other NPM packages everyone else is using by akamaka on Sunday February 28, 2016 @05:23PM (#11192666)
This is fantastic all around. The visual design is perfect, it's fast, and within a minute of using it I discovered some new libraries which might be useful for my projects. It reminds me a bit of using Google search when it first launched and was less cluttered.

The clear layout makes it easy enough to mentally filter out common packages which appear in every search result, like gulp and grunt, but it might be a nice bonus to highlight packages that are "most uniquely" associated with the search term and not used by everyone else, or to cluster tools which are alternatives to each other together (e.g. putting gulp and grunt side by side on the same line).

Re:Show HN: See what other NPM packages everyone else is using by temple3188 on Sunday February 28, 2016 @05:32PM (#11192702)
Thanks for the feedback!

Yeah I noticed it would be useful to cluster related packages together, that was the thinking behind introducing the filters to the right-hand side e.g. framework, test etc. When you click them it will toggle the view.

I was hoping I could rely on the keywords associated with the package to cluster them, though as it turns there's not a lot of love for the keywords section, meaning clustering them would take manual effort. Doing it myself isn't feasible and I though about creating the means for users to contribute the info, just wanted to wait for demand for it first :).

Thanks!

Re:Show HN: See what other NPM packages everyone else is using by avtar on Sunday February 28, 2016 @06:13PM (#11192844)
It would be great if the URL reflected the search results. I used your suggested "express" search but after getting the results the URL remains http://www.npmdiscover.com That makes sharing results with someone else or bookmarking fairly awkward.

That being said, kudos for providing a resource that helps wade through all the npm packages out there!

Re:Show HN: See what other NPM packages everyone else is using by temple3188 on Sunday February 28, 2016 @06:26PM (#11192884)
Yeah this is definitely the next thing to be done, a number of people have been asking for it so hopefully it'll live in the next few days.

Thanks :)

Re:Show HN: See what other NPM packages everyone else is using by lobster_johnson on Sunday February 28, 2016 @04:02PM (#11192356)
Also: When searching for packages, I recommend http://npmsearch.com. It scores search results by popularity, which usually correlates with quality and maturity.
Re:Show HN: See what other NPM packages everyone else is using by Kiro on Sunday February 28, 2016 @03:53PM (#11192318)
This is a nice concept. When I start using a new library or framework I very often want to know what the best practices are. Seeing what else I "should" use is a step towards that.
Re:Show HN: See what other NPM packages everyone else is using by fiatjaf on Sunday February 28, 2016 @04:42PM (#11192511)
You should filter out devDependencies. Everywhere I look I just see browserify, webpack, babel.
Re:Show HN: See what other NPM packages everyone else is using by temple3188 on Sunday February 28, 2016 @04:47PM (#11192530)
You're right, at the moment I treat both dependencies and devDependencies the same, it made sense just to get an idea of what people were using, though a nice feature would be to differentiate between them. Thanks!
Re:Show HN: See what other NPM packages everyone else is using by bpicolo on Sunday February 28, 2016 @04:45PM (#11192524)
I bet a surprising amount of people have all of those as a regular dependency.
Re:Show HN: See what other NPM packages everyone else is using by 0xbadb002 on Sunday February 28, 2016 @04:46PM (#11192526)
Maybe make it say "of xyz projects on github, foo% use " then a colon or an ellipse. Just a little suggestion rather than putting the first item in the dependency list and "etc".
Re:Show HN: See what other NPM packages everyone else is using by vinhboy on Sunday February 28, 2016 @03:13PM (#11192160)
You should have a list of top packages so we can easily test out the site.

On a related note. It would be nice if there was a https://www.ruby-toolbox.com/ for AngularJS and NPM.

Re:Show HN: See what other NPM packages everyone else is using by temple3188 on Sunday February 28, 2016 @03:17PM (#11192176)
Yeah I did think about this, however after looking at https://www.npmjs.com/ I felt their 'packages people npm install a lot' kind of satisfied that criteria.

I could put something along the lines of 'Top 10 most discovered packages' based on data from the site :)

Re:Show HN: See what other NPM packages everyone else is using by akamaka on Sunday February 28, 2016 @05:26PM (#11192677)
I must say that I really like the uncluttered homepage the way it is!
Re:Show HN: See what other NPM packages everyone else is using by vinhboy on Sunday February 28, 2016 @03:31PM (#11192239)
Yes. Something like that would be very useful.
Re:Show HN: See what other NPM packages everyone else is using by octref on Sunday February 28, 2016 @03:22PM (#11192200)
I'm working on one and expect to be done around May. Just wondering, what kind of features do you want most?
Re:Show HN: See what other NPM packages everyone else is using by vinhboy on Sunday February 28, 2016 @03:31PM (#11192238)
Need to know what is the most popular package by category. Either by downloads or by github stars. Good luck with your project. I hope to use it.
Re:Show HN: See what other NPM packages everyone else is using by bryanrasmussen on Sunday February 28, 2016 @04:32PM (#11192471)
what npm packages compete with each other would be nice.

It would be interesting(not saying useful, just interesting) to have something that was similar to TF-IDF for code.

That would argue that everyone uses Express actually makes express not that meaningful.

Of course that would assume that the concept of meaningfulness in text could transfer easily to meaningfulness in a software project, even though that is an area where I have never heard the concept broached.

Re:Show HN: See what other NPM packages everyone else is using by hartror on Sunday February 28, 2016 @10:27PM (#11193441)
Interesting. Given how much the Js scene changes from month to month it would be useful to track this over time.
Re:Show HN: See what other NPM packages everyone else is using by jastanton on Sunday February 28, 2016 @09:31PM (#11193348)
Maybe I'm doing this wrong but I don't think react-native is a dependency of moment
Re:Show HN: See what other NPM packages everyone else is using by SimeVidas on Sunday February 28, 2016 @09:49PM (#11193376)
Where does it say that?
Re:Show HN: See what other NPM packages everyone else is using by jastanton on Monday February 29, 2016 @01:35PM (#11197169)
I searched react-native and moment came up as one of the results: http://i.imgur.com/Ceq04hr.png
Re:Show HN: See what other NPM packages everyone else is using by SimeVidas on Wednesday March 02, 2016 @10:54AM (#11210678)
That just means that from all the projects on GitHub that use react-native, 10% of them also use moment.