npm.io
1.1.0 • Published 10 years ago

fs-transport-stream

Licence
MIT
Version
1.1.0
Deps
2
Vulns
0
Weekly
0
Stars
2

fs-transport-stream

Execute a command somewhere else on the fs and get results back as a stream.

build status

npm install fs-transport-stream

fs-transport-stream(filepath, cmd)

var transport = require('fs-transport-stream')
var stream1 = transport('file://path/to/file', 'ls')
stream1.on('data', console.log)