No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
chainable.js
example.js
index.js
package.json
tq

README.md

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