Fetch a user's CPAN count from MetaCPAN
CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.gitignore
README.md
cpan-count.coffee
cpan-count.js
package.json

README.md

cpan-count

Fetch a user's CPAN count from MetaCPAN

Usage

getCPANs = require 'cpan-count'

success = (count) -> ...
error = (err) -> ...

getCPANs 'someUserName', success, error

Features

  • Uses promises

Supported environments

  • Node
  • CommonJS

Reference

Most of the code are copied from https://github.com/eighttrackmind/gem-count