Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
List the packages an npm user can publish, 25 per page.
Endpoint
/v1/npm/user/packages
Query
npm username, e.g. `sindresorhus`. Case-sensitive.
1-based page number. Default: 1.
Cursor from `page.nextCursor` of the previous response. It only continues the same lookup and filters.
const response = await fetch( "https://api.socialfetch.dev/v1/npm/user/packages?username=sindresorhus", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);