0.0.1 • Published 9 years ago

iterator-utils v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

iterator-utils

Iterator functions for Node.js

This module uses generators, so it probably won't work in node.js <= 0.12 (io.js does work)

Example

var iterator = require('iterator-utils')

iterator()
  .file('package.json')
  .split('\n')
  .skip(3)
  .take(5)
  .map(function(a){
    return a.toUpperCase()
  })
  .forEach(function(line){
    console.log({line:line})
  })
1.0.0

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago