mtime-reduce
Run a reduce over a collection of files, and save the result in another file.
If there is not more recent mtime than the reduction file, the reduce won't run.
example - npm reverse deps
Iterate over all npm docs in your npm cache,
and construct a table of reverse dependencies.
({$dependencie: {$dependant: count}}
- count is the number of
versions of $dependant
than depend on $dependency
)
var mtr =var reduce =//an async reduce function is returned.//pass it a callback!
License
MIT