isaacs/npm — pull request #2460 by beefsack (2012-05-20 05:26:10+00:00)
Title: "bundle exec" style exec command

I've created a new command to execute commands using local binaries before global ones. The command auto completes based on which binaries are available in the node_modules/.bin.

Examples:
npm exec jasmine-node spec
npm exec jake build

Tested under Linux (arch) and Windows 7. I don't have an OSX machine to try it out on though.