Socket
Socket
Sign inDemoInstall

calcdeps

Package Overview
Dependencies
9
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    calcdeps

A Node.js port of Google Closure library calcdeps.py


Version published
Weekly downloads
16
increased by45.45%
Maintainers
1
Install size
422 kB
Created
Weekly downloads
 

Readme

Source

A Node.js port of Google Closure library calcdeps.py.

Installation

> npm install calcdeps -g

Usage

 calcdeps [options]

Options

-i, --input
The inputs to calculate dependencies for. Valid values can be files or directories.
-p, --path
The paths that should be traversed to build the dependencies. Defaults to the current directory
-d, --dep
Directories or files that should be traversed to find required dependencies for the deps file. Does not generate dependency information for names provided by these files.
-e, --exclude
Files or directories to exclude from the --path and --input flags
-o, --output_mode
The type of output to generate from this script. Options are "list" for a list of filenames, "script" for a single script containing the contents of all the files, or "deps" to generate a deps.js file for all paths. Defaults to "list".
--output_file
If specified, write output to this path instead of writing to standard output.

Keywords

FAQs

Last updated on 07 Sep 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc