FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
npm Registry Has a Free API — Query 2M+ JavaScript Packages Without Authentication
NewsWeb Development

npm Registry Has a Free API — Query 2M+ JavaScript Packages Without Authentication

via Dev.to WebdevAlex Spinov2h ago

npm Is Not Just a CLI The npm registry exposes a free JSON API. No API key, no OAuth, no rate limits for reasonable usage. Every package on npm has a JSON endpoint. Get Package Metadata const res = await fetch ( " https://registry.npmjs.org/express " ); const pkg = await res . json (); console . log ( ` ${ pkg . name } — ${ pkg . description } ` ); console . log ( `Latest: ${ pkg [ " dist-tags " ]. latest } ` ); console . log ( `Versions: ${ Object . keys ( pkg . versions ). length } ` ); console . log ( `License: ${ pkg . license } ` ); Get Specific Version const res = await fetch ( " https://registry.npmjs.org/react/19.0.0 " ); const version = await res . json (); console . log ( `Dependencies:` , Object . keys ( version . dependencies || {})); console . log ( `Size: ${ version . dist . unpackedSize } bytes` ); console . log ( `Tarball: ${ version . dist . tarball } ` ); Get Download Counts // Last week downloads const res = await fetch ( " https://api.npmjs.org/downloads/point/last-

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles

News

FiberBills: A Complete Billing & Collection System for ISPs and Subscription Businesses

Medium Programming • 3h ago

News

Prompting as Probabilistic Programming

Medium Programming • 4h ago

La historia de Ramiro..
News

La historia de Ramiro..

Dev.to • 4h ago

The Sonos Ace are a hefty 25 percent for Amazon’s Big Spring Sale
News

The Sonos Ace are a hefty 25 percent for Amazon’s Big Spring Sale

The Verge • 4h ago

Hooks in Claude Code
News

Hooks in Claude Code

Medium Programming • 4h ago

Discover More Articles