New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

inspectdep

Package Overview
Dependencies
Maintainers
21
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inspectdep

A dependency inspection tool.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
39K
decreased by-8.55%
Maintainers
21
Weekly downloads
 
Created
Source

inspectdep 🔎

npm version Maintenance Status

An inspection tool for dependencies in node_modules.

API

findProdInstalls({ rootPath })

Find on-disk locations of all production dependencies in node_modules.

Notes:

  • This includes all dependencies and optionalDependencies, simulating what would happen during a yarn|npm install --production.
  • Paths are relative to rootPath and separated with path.sep native OS separators
  • If dependencies are not found installed on-disk they are simply ignored. #2

Parameters:

  • rootPath (string): node_modules root location (default: process.cwd())
  • curPath (string): location to start inferring dependencies from (default: rootPath)

Returns:

  • (Promise<Array<String>>): list of relative paths to on-disk dependencies

Maintenance Status

Active: Formidable is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.

Keywords

FAQs

Package last updated on 08 May 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc