Socket
Book a DemoInstallSign in
Socket

depgrep

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depgrep

Search dependents of a node module.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

depgrep

Search dependents of a node module.

Build Status JavaScript Style Guide

As a module and/or maintenance developer it can be handy to gather information on which modules are actually using your module, e.g. which parts of the api it uses, variable names etc. This can be particularly useful when changing the API and helps answering the question How will this change affect the users of my module?.

Features

  • Finds dependents of a module using module-dependents
  • Uses the GitHub Search API to search for keywords
  • Output heavily influenced by the_silver_searcher but points out blobs on GitHub rather than files on the local file system
  • Search results are indexed based on the queried module and query which helps with repetetive and offline queries
  • Dependent modules are cached for faster and offline queries

Data is stored using level. Storage path defaults to ~/.depgrep/db but can be configured by the depgrep_db environment variable (determined by rc).

Install

$ npm i depgrep -g

Usage

Search Dependents

Search for testBuffer in dependents of abstract-leveldown

image

Options

To clear search results and cached dependents:

$ depgrep -c | --clear-cache

Display help:

$ depgrep -h | --help

License

GPL-3.0 © 2018-present Lars-Magnus Skog.

Keywords

dependents

FAQs

Package last updated on 24 Jun 2018

Did you know?

Socket

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