Browser-side popularity of an npm package: jsDelivr CDN rank and trend
Real browser-side adoption signal from the official jsDelivr Stats API: global CDN hit rank, rank within npm, total hits over the period, previous-period comparison and a derived trend (up/down/flat, lower rank = more popular). Query: ?pkg=react&period=week (period: day, week, month, year). Complements npm download counts; cached 6h.
get/v1/npm/cdn-rank
Request
- Base URL: https://data.greeneris.io (the document declares no server; this is the origin it was published from)
- URL: https://data.greeneris.io/v1/npm/cdn-rank
- Auth: none declared
Query parameters
pkgstring required
npm package name, e.g. react or @angular/core
period'day' | 'week' | 'month' | 'year'
Stats window
Response
Successful response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.