Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace package-json dependency with simple API call #19

Closed
fregante opened this issue Jul 26, 2021 · 2 comments
Closed

Replace package-json dependency with simple API call #19

fregante opened this issue Jul 26, 2021 · 2 comments

Comments

@fregante
Copy link

The registry can be queried directly:

https://registry.npmjs.org/@shinnn%2Feslint-config-node

or even fetch a specific version or tag:

https://registry.npmjs.org/@shinnn%2Feslint-config-node/latest

Ideally with any solution other than got it's a lot

@sindresorhus
Copy link
Owner

It's using package-json for a reason. It handles custom registries and authentication.

@sindresorhus
Copy link
Owner

Ideally with any solution other than got it's a lot

I'm unlikely to switch from Got until Node.js has built-in Fetch support. It's easy to say that Got is large, but it's large for a reason. Networking is complex. Got started out as a 50 LOC package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants