Tabnine Logo For Javascript
list-stream
Code IndexAdd Tabnine to your IDE (free)

How to use list-stream

Best JavaScript code snippets using list-stream(Showing top 2 results out of 315)

origin: nodejs/commit-stream

function gitToList (gitCmd, callback) {
 var child = spawn('bash', [ '-c', gitCmd ])
 child.stdout.pipe(split2()).pipe(commitStream()).pipe(listStream.obj(callback))
}
origin: nodejs/branch-diff

function branchDiff (branch1, branch2, options, callback) {
 if (!branch1 || !branch2) {
  return callback(new Error('Must supply two branch names to compare'))
 }

 const repoPath = options.repoPath || process.cwd()

 findMergeBase(repoPath, branch1, branch2, (err, commit) => {
  if (err) { return callback(err) }
  map(
   [branch1, branch2], (branch, callback) => {
    collect(repoPath, branch, commit, branch === branch2 && options.endRef).pipe(listStream.obj(callback))
   }
   , (err, branchCommits) => err ? callback(err) : diffCollected(options, branchCommits, callback)
  )
 })
}
list-stream(npm)

Most used list-stream functions

  • ListStreamConstructor.obj

Popular in JavaScript

  • path
  • fs
  • express
    Fast, unopinionated, minimalist web framework
  • chalk
    Terminal string styling done right
  • fs-extra
    fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
  • cheerio
    Tiny, fast, and elegant implementation of core jQuery designed specifically for the server
  • winston
    A logger for just about everything.
  • node-fetch
    A light-weight module that brings window.fetch to node.js
  • mkdirp
    Recursively mkdir, like `mkdir -p`
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJavascript Code Index
Get Tabnine for your IDE now