Neoclassical Philosophic Musings

    rank-my-modules

    0.0.12 • Public • Published

    rank-my-modules

    get total download counts for a list of npm modules

    Installation

    npm i rank-my-modules

    Usage

    var rmm = require('rank-my-modules');
    
    var modulesList = [
        'ascii-data-image',
        'json-shrink',
        'jsonfile-compressed',
        'name-my-computer',
        'ngt-tool',
        'spatial-db',
        'spatial-db-ngt',
    ]
    
    rmm.rank(modulesList, function(res){
        console.log(res);
    });
    
    //result
    /*[
        [ 'rank', 'name', 'downloads' ],
        [ 1, 'ascii-data-image', 627 ],
        [ 2, 'ngt-tool', 449 ],
        [ 3, 'spatial-db', 289 ],
        [ 4, 'name-my-computer', 155 ],
        [ 5, 'json-shrink', 98 ],
        [ 6, 'jsonfile-compressed', 50 ],
        [ 7, 'spatial-db-ngt', 49 ]
    ]*/

    stonks

    Install

    npm i rank-my-modules

    DownloadsWeekly Downloads

    0

    Version

    0.0.12

    License

    MIT

    Unpacked Size

    2.85 kB

    Total Files

    4

    Last publish

    Collaborators

    • stonkpunk