How many times was the Excalidraw npm package (@excalidraw/excalidraw) downloaded last week? Today: 1.53M downloads. This is version 1.
https://api.npmjs.org/downloads/point/last-week/@excalidraw/excalidraw
Read the `downloads` field: downloads over the last 7 days.
Weekly totals from the registry's daily download counts, back to 2015: https://api.npmjs.org/downloads/range/{start}:{end}/{package}
Once a day, straight from the API. No search and no model are involved.
This number is read straight from a public API by a few lines of code, so its recipe is changed in the source repository, not here.