nypm
nypm copied to clipboard
`nypm info <pkg>`
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?
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
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
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.