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

explain-dependencies

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

explain-dependencies

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Explain Dependencies

Explains what your project's dependencies are.

Installation

Ruby is required. Once it's installed run:

gem install explain-dependencies

If you're using Bundler:

gem "explain-dependencies", :group => :development

Usage

xdep [-ai] [-f format] [file or directory...]
  -a, --add                        Add explanations to the dependency file, if possible
  -i, --ignore-popular             Ignore popular dependencies
  -f, --format=NAME                Output format for explanations (csv or source), defaults to csv

Your dependencies must be installed in order to describe them.

Output Formats

Explain Dependencies can output to CSV or add descriptions to the dependency file.

CSV output will contain the following columns: Language, Name, Version, Description, Homepage, License

Source output adds the dependency's description as a comment directly above the line that's including it. This is not supported for all output formats.

Examples

Output a CSV file describing all of your project's dependencies:

xdep

Output a CSV file describing dependencies in package.json:

xdep package.json

Output a Gemfile with comments describing dependencies in Gemfile:

bundle exec xdep -f source Gemfile

Update your project's Gemfile with comments describing each dependency, ignoring well-known dependencies:

bundle exec xdep -aif source Gemfile

Supported Projects

TODO

  • More dependency files
  • Specify CSV columns
  • Speedup describing package.json

FAQs

Package last updated on 14 Sep 2017

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