https://github.com/bramstein/calcdeps
A Node.js port of Google Closure library calcdeps.py
https://github.com/bramstein/calcdeps
Last synced: about 1 year ago
JSON representation
A Node.js port of Google Closure library calcdeps.py
- Host: GitHub
- URL: https://github.com/bramstein/calcdeps
- Owner: bramstein
- Created: 2011-08-28T22:35:23.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2021-09-07T17:47:26.000Z (almost 5 years ago)
- Last Synced: 2025-03-19T09:14:23.675Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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.