Wondering what’s next for npm?Check out our public roadmap! »

    callers

    1.0.3 • Public • Published

    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) {
     
      }
    });
    • You can also pass optional arguments through to node-dependents like config and exclude.

    CLI

    • requires a global install

    callers [options] <filename> <functionName>

    • callers --help for supported options

    Install

    npm i callers

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • avatar