1.0.3 • Published 9 years ago

callers v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

callers npm npm

Get the modules that call a function of another module

npm install callers

Usage

var callers = require('callers');

callers({
  filename: 'file/that/has/the/function',
  functionName: 'foobar',
  directory: 'path/to/all/js/files',
  success: function(err, callers) {

  }
});

CLI

  • requires a global install

callers [options] <filename> <functionName>

  • callers --help for supported options