nuget-count

Fetch a user's package count from Nuget

nuget-count

Fetch a user's package count from Nuget

get = require 'nuget-count'
 
success = (count) -> ...
error = (err) -> ...
 
(get 'someUserName').then successerror
  • Uses promises

Implementation notes

  • Uses scraping (:[) because Nuget has no API.
  • Because of the scraping approach, we cannot differentiate between user that exist but have no repos, and users that don't exist. Either will return a rejected promise.
  • Node
  • CommonJS