Sha256: 9ecc5cd5ab80623292602b463917cec646e58005aa7078bbe12ead8ef169f2a6

Contents?: true

Size: 289 Bytes

Versions: 55

Compression:

Stored size: 289 Bytes

Contents

#!/usr/bin/env node
var which = require("../")
if (process.argv.length < 3) {
  console.error("Usage: which <thing>")
  process.exit(1)
}

which(process.argv[2], function (er, thing) {
  if (er) {
    console.error(er.message)
    process.exit(er.errno || 127)
  }
  console.log(thing)
})

Version data entries

55 entries across 24 versions & 6 rubygems

Version Path
hooch-0.2.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/.bin/which
hooch-0.1.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/bin/which
hooch-0.1.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/.bin/which
hooch-0.0.8 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/bin/which
hooch-0.0.8 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/.bin/which
hooch-0.0.7 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/bin/which
hooch-0.0.7 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/.bin/which
hooch-0.0.6 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/which/bin/which
hooch-0.0.6 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/.bin/which
entangled-0.0.16 spec/dummy/public/node_modules/phantomjs/node_modules/which/bin/which
entangled-0.0.16 spec/dummy/public/node_modules/grunt/node_modules/which/bin/which
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/which/bin/which
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/which/bin/which
entangled-0.0.15 spec/dummy/public/node_modules/phantomjs/node_modules/which/bin/which
entangled-0.0.15 spec/dummy/public/node_modules/grunt/node_modules/which/bin/which
entangled-0.0.14 spec/dummy/public/node_modules/grunt/node_modules/which/bin/which
entangled-0.0.14 spec/dummy/public/node_modules/phantomjs/node_modules/which/bin/which
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/which/bin/which
entangled-0.0.13 spec/dummy/public/node_modules/grunt/node_modules/which/bin/which
entangled-0.0.13 spec/dummy/public/node_modules/phantomjs/node_modules/which/bin/which