Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

require-logger

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

require-logger

tiny utility to help when debugging cyclic dependency issues in node.js

    0.0.2latest

Version published
Maintainers
1
Yearly downloads
18,905
increased by34.28%

Weekly downloads

Readme

Source

require-logger

tiny utility to visualize whole dependency tree and possibly help with debugging cyclic dependency issues in node.js

Install

npm i require-logger -g

I found that I need this module when debugging circular dependencies. Since other developers on your team might have different tools for this it's probably best to install as global dep.

Usage

Just require or import at the root file of your app.

require('require-logger')

next time you run your app, you should see a tree of dependencies as they are loaded in the STDOUT. node_modules folder deps are skipped. Only local files are shown. In the tree it's easy to spot cyclic deps and also parent modules which can be broken into multiple modules.

Keywords

FAQs

What is require-logger?

tiny utility to help when debugging cyclic dependency issues in node.js

Is require-logger popular?

The npm package require-logger receives a total of 176 weekly downloads. As such, require-logger popularity was classified as not popular.

Is require-logger well maintained?

We found that require-logger demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 09 Apr 2019
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc