Live data from Hacker News

Pika: Making it easier to find, publish, install, and use modern packages on npm

pikapkg.com

41–50 of 60 posts

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#41

Excuse my ignorance, but was not it already easy to do these operations? Seems like yet another centralized package repository with a supposedly visually appealing interface, where this interface is done just a little bit differently. Edit: apparently it is not a package repository, my bad. Could someone please explain to me what exactly it is and its use cases? Is this supposed to replace some of the features of npm…

It doesn't look like a package repository. It's just a UI for the npm repository and some type of build tool.

At least I got the second part right! :D But yeah, I guess the author was not content with https://www.npmjs.com? Is it even supposed to replace it? I have no idea.

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#42

Earlier quoted context omitted.

It doesn't look like a package repository. It's just a UI for the npm repository and some type of build tool.

At least I got the second part right! :D But yeah, I guess the author was not content with https://www.npmjs.com ? Is it even supposed to replace it? I have no idea.

Seems pretty clear to me: it's a way to search for npm packages that are published as ES modules. You can't filter by that on npmjs.com, so this does fill a need. The other parts of the project help you publish packages in ESM format, which can be a pain to do manually.

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#43

From the news I hear (which is quite slanted, I will admit, since I write very little JavaScript) the issue with npm is that it's too easy to publish things on npm and use them, which leads to a dependency mess and breakage when things are removed or get hacked. Is this something that the JavaScript community needs?

I don't think that npm itself should be blamed for being too easy to use - That's a good thing in most cases. I think that the main problem is that a couple of years ago some very vocal members of the Node.js community had been promoting a hard-line philosophy around publishing and using tiny modules. The consequence of that is that projects ended up with hundreds of tiny dependencies (and sub-dependencies) which inc…

OK, but this behavior can be observed in both the Python and Rust community, too (maybe other communities as well but I am not in touch with them). Do they promote "a hard-line philosophy around publishing and using tiny modules", too? I had to cargo build a few projects (independently) (e.g. parity-ethereum, c2rust), and it took a while because they had over 300 dependencies. That is a lot. What is the reason for this phenomenon?

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#44
post #9

While I'm a big fan of native modules, I find the constant use of the adjective "modern" in new JS project descriptions somewhat disturbing. Being modern in itself is not of any value. If it loads faster, or if it obviates the need for a bundler, or if it makes granular upgrades easier, or if it reduces the amount of configurations or tooling, we should put those benefits first.

In the sense they're using it here it's perfectly valid. ES Modules are the modern replacement for the old legacy JS module systems.

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#45

Earlier quoted context omitted.

At least I got the second part right! :D But yeah, I guess the author was not content with https://www.npmjs.com ? Is it even supposed to replace it? I have no idea.

Seems pretty clear to me: it's a way to search for npm packages that are published as ES modules. You can't filter by that on npmjs.com, so this does fill a need. The other parts of the project help you publish packages in ESM format, which can be a pain to do manually.

Why not fix npmjs.com instead of scattering things around ad infinitum?

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#46
post #8

The nodejs modules are what makes nodejs great. It encourage sharing code and modularization without complexity.

These are still node modules, and they're still on npm. They just use ESM syntax as well as CommonJS.

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#47

Earlier quoted context omitted.

Seems pretty clear to me: it's a way to search for npm packages that are published as ES modules. You can't filter by that on npmjs.com, so this does fill a need. The other parts of the project help you publish packages in ESM format, which can be a pain to do manually.

Why not fix npmjs.com instead of scattering things around ad infinitum?

Only the NPM Corp can fix NPM. Anyone can create a different website to aggregate it's results.

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#48

Earlier quoted context omitted.

Seems pretty clear to me: it's a way to search for npm packages that are published as ES modules. You can't filter by that on npmjs.com, so this does fill a need. The other parts of the project help you publish packages in ESM format, which can be a pain to do manually.

Why not fix npmjs.com instead of scattering things around ad infinitum?

These packages are still on npmjs.com. This is just another way to search the repository. The author can't fix npmjs.com because I'm assuming they don't work for npm Inc.

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#49
post #9

While I'm a big fan of native modules, I find the constant use of the adjective "modern" in new JS project descriptions somewhat disturbing. Being modern in itself is not of any value. If it loads faster, or if it obviates the need for a bundler, or if it makes granular upgrades easier, or if it reduces the amount of configurations or tooling, we should put those benefits first.

In the sense they're using it here it's perfectly valid. ES Modules are the modern replacement for the old legacy JS module systems.

It's valid, but not interesting. The "old legacy" system was once modern, too. And before that it was . Better to talk about the technical benefits of the solution instead of how new (i.e. modern) it is.

Re: Pika: Making it easier to find, publish, install, and use modern packages on npm

#50

Earlier quoted context omitted.

Why not fix npmjs.com instead of scattering things around ad infinitum?

Only the NPM Corp can fix NPM. Anyone can create a different website to aggregate it's results.

Do they allow people to send pull requests though? I know that it does not equal to accepting it, I just wonder if it has been attempted.

> Anyone can create a different website to aggregate it's results.

Yes, I know, and it is fine. Just wondering.

Post reply on HN