Live data from Hacker News

NPMX – a fast, modern browser for the NPM registry

npmx.dev

61–70 of 76 posts

Re: NPMX – a fast, modern browser for the NPM registry

#62
post #16

I don’t get it. What does it do? How can I trust it over simply visiting https://www.npmjs.com/ (which is perfectly fine to browse)? Edit: it wants me to connect to the “atmosphere” - is this the Bluesky App Store thing? I really don’t see how linking my socials to npm search makes sense.

There is no "Bluesky App Store" thing. The Atmosphere integration is an optional feature that adds a social layer on top of the registry, using the AT Protocol.

Re: NPMX – a fast, modern browser for the NPM registry

#65

Earlier quoted context omitted.

My only pain point, that I solved with a few lines of elisp, was to go to npmjs, to find the repo link for my dependencies. What's in `node_modules` may be compiled to an inscrutable blob and it's rare to find good library docs.

Life-changing: ghub.io/ No idea where I found this but I’ve been using for many, many years.

How's it life changing though? You have to know the package name already to do that. And if you're sitting on npmjs looking at the package already, then you're one click away from Github.

Furthermore... I don't host my packages on Github :-) Don't think that even works for mine.

Re: NPMX – a fast, modern browser for the NPM registry

#66

I don't think npmx has better UI/UX than npmjs.com. It could even be said to be worse. The npmx page doesn't have any other colors, it's all gray, and the page has too many elements that are too cluttered. You can compare these two pages: https://npmx.dev/package/vue https://www.npmjs.com/package/vue Decide for yourself which UX is better.

I really like how the did the sidenav scrolling.. I was trying to do the same thing on one of my sites the other month and couldn't figure it out. It's not merely sticky, if you make your window too small for it to fit, it does interesting things.

Re: NPMX – a fast, modern browser for the NPM registry

#67
post #59

Here's one feature they have that seems important: > It's good npmx.dev shows git and https dependencies. I still think it's crazy npmjs.org doesn't. https://bsky.app/profile/dsherret.bsky.social/post/3mer2diwj...

Damn, I didn't even know that npm allows publishing dependencies that have git/https dependencies to the public registry.

You can publish with any dependency including non existent ones.

There’s not a lot of restrictions npm puts on what you can upload.

Re: NPMX – a fast, modern browser for the NPM registry

#68
post #3

But why? npmjs.com is not slow and not something I need to interact with very often. And npmjs.com is still the authority when it comes to publishing packages, no? So I'd still have to use it.

When I checked the site yesterday after reading this, I found that npmx was indeed faster. And on npmjs.org, the back button was broken when browsing code on the site, here not.

However, I would be wary to adopt a third-party code browser for previewing dependency code, even more than using the auhtoritative one on npmjs.org.

Downloading an archive without executing anything and looking at the content would be better if done for getting a peek.

I don't get the strong dislike for the UI though, it looks solid to me. Aesthetically conservative and nothing new, but well-executed, responsive, tidy, and with attention to detail.

Post reply on HN