Naughty Programmer's Madness
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    map-seriespublic

    map-series

    NPM version Build Status Dependency Status Coverage Status Code Climate

    install

    npm install [--save/--save-dev] map-series
    component install ramitos/map-series

    api

    var map = require('map-series')
     
    map([1, 3, 2], function (x, callback) {
      setTimeout(function(){
        callback(null, x*2)
      }, x*25)
    }, function (err, results){
      if(err) throw err
      console.log(results) //=> [2, 6, 4]
    })

    license

    MIT

    Keywords

    none

    install

    npm i map-series

    Downloadsweekly downloads

    12

    version

    0.0.3

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar