Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/egoist/decheck

Checkout the dependencies an npm module depends on
https://github.com/egoist/decheck

Last synced: about 2 months ago
JSON representation

Checkout the dependencies an npm module depends on

Awesome Lists containing this project

README

        

# decheck [![npm version](https://img.shields.io/npm/v/decheck.svg)](https://npmjs.com/package/decheck) [![npm downloads](https://img.shields.io/npm/dm/decheck.svg)](https://npmjs.com/package/decheck)

> Checkout the dependencies an npm module depends on.

## Purpose

I always need to browse a module's `package.json` to find new modules that are used by it. [octo-link](https://github.com/octo-linker/chrome-extension) and [npm-hub](https://github.com/zeke/npm-hub) both are good but not enough for me, cuz I often use terminal.

[![asciicast](https://asciinema.org/a/79811.png)](https://asciinema.org/a/79811)

## Install

```bash
$ npm install -g decheck
```

## Usage

In the program screen you can use arrow keys or your mouse to scroll content, `Vi mode` is also supported. Press `q` or `ESC` or `Ctrl-C` to exit program.

```bash
$ decheck express

# or check current working project
$ decheck .
```

```bash
$ decheck -h

Usage:

decheck [moduleVersion]

-d/--dev: Check the devDependencies
-r/--registry: Set custom npm registry
-c/--cn: Set npm registry to China mirror
-v/--version: Print version
-h/--help: Print help
```

## License

MIT © [EGOIST](https://github.com/egoist)