0.0.3 • Published 11 years ago

tree-query v0.0.3

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

tree-query

like jQuery, but on directory trees.

Example

Find all the modules node could require from current dir, and print their name and version.

var $ = require('tree-query')

$('.../node_module/*/package.json')
  .read(JSON.parse)
  .unique('name')
  .map(function (e) {
    return {name:e.name, version:e.version}
  })
  .drain(console.log)

and many other extremely terse expressions!

see also

mostly this just wraps some pull-stream modules in a chainable api.

coming soon

fs.watch events...

License

MIT

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago