nypm icon indicating copy to clipboard operation
nypm copied to clipboard

`nypm info <pkg>`

Open OrbisK opened this issue 6 months ago • 3 comments

Describe the feature

Followup of: https://github.com/unjs/nypm/pull/206#issuecomment-2996163897

Requirements:

  • Directly retquest registry APIs
  • multiregistry support via adapters

Nice to Haves:

  • offline support (?), to be pm compartible - where should we store the data?
  • jsr

Additional information

  • [x] Would you be willing to help implement this feature?

OrbisK avatar Jun 23 '25 15:06 OrbisK

I'm opening this thread to discuss some questions I will update this thread as I go along, so please feel free to comment. I'll ping you when I've finished planning and start implementing!

cc @pi0

OrbisK avatar Jun 23 '25 15:06 OrbisK

Open Questions:

  • If we are not using the pm and instead fetch regristries directly, how do we authenticate for private packages? We cant use the pms auth I guess

OrbisK avatar Jun 27 '25 07:06 OrbisK

Let's first focus on querying the public NPM registry API without caching (which is main usecase of this) and iterate to add more features like npmrc detection, etc.

pi0 avatar Jun 27 '25 07:06 pi0