Ninja Pumpkin Mutants

    leftover

    0.0.0 • Public • Published

    leftover

    Call callbacks a couple of times and return with the last data

    Installation

    npm install leftover
    

    Example

    var leftover = require('./leftover')
     
      , fn = leftover(3, function(err, data) {
          console.log(data) // will pring out "three"
        })
     
    fn(null, 'one')
    fn(null, 'two')
    fn(null, 'three')

    Keywords

    none

    Install

    npm i leftover

    DownloadsWeekly Downloads

    4

    Version

    0.0.0

    License

    none

    Last publish

    Collaborators

    • kesla