Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.