Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dpdm

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dpdm

Analyze circular dependencies in your JavaScript/TypeScript projects.

  • 3.14.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is dpdm?

The dpdm (Dependency Path Dependency Manager) npm package is a tool for analyzing and managing dependencies in JavaScript and TypeScript projects. It helps developers understand the structure of their dependencies, identify circular dependencies, and visualize the dependency graph.

What are dpdm's main functionalities?

Analyze Dependencies

This feature allows you to analyze the dependencies of your project starting from a given entry point. The result will include information about all the modules and their dependencies.

const dpdm = require('dpdm');
const result = dpdm({ entryPoints: ['./src/index.js'] });
console.log(result);

Detect Circular Dependencies

This feature helps you detect circular dependencies in your project. By setting the `detectCircular` option to true, the result will include information about any circular dependencies found.

const dpdm = require('dpdm');
const result = dpdm({ entryPoints: ['./src/index.js'], detectCircular: true });
console.log(result.circular);

Visualize Dependency Graph

This feature allows you to visualize the dependency graph of your project. By setting the `output` option to 'graph', the result will include a representation of the dependency graph.

const dpdm = require('dpdm');
const result = dpdm({ entryPoints: ['./src/index.js'], output: 'graph' });
console.log(result.graph);

Other packages similar to dpdm

Keywords

FAQs

Package last updated on 13 Sep 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