40thieves / nodealm

A Node wrapper for the Public Library of Science Article Level Metrics API
MIT License
2 stars 1 forks source link

Return object instead of array if single article requested #1

Closed 40thieves closed 10 years ago

40thieves commented 10 years ago

What it says on the tin.

alm.getAlm('10.1371/journal.pbio.1000242', function(err, result) {
    // Have to use result[0] currently
    // Result should just be an object
});