nuget-count

    0.0.1 • Public • Published

    nuget-count

    Build Status Fetch a user's package count from Nuget

    Usage

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

    Features

    • 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.

    Supported environments

    • Node
    • CommonJS

    Keywords

    none

    Install

    npm i nuget-count

    DownloadsWeekly Downloads

    3

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • bcherny