Socket
Socket
Sign inDemoInstall

callers

Package Overview
Dependencies
6
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    callers

Get the modules that call a function of another module


Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 10 Jul 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc