Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jimmycuadra/import-count

A command line interface for analyzing import statements in JavaScript code.
https://github.com/jimmycuadra/import-count

cli esm esmodules import javascript jsx

Last synced: 3 months ago
JSON representation

A command line interface for analyzing import statements in JavaScript code.

Awesome Lists containing this project

README

        

# import-count

**import-count** is a command line interface for analyzing import statements in JavaScript code.

## Installation

With npm:

```
npm install import-count
```

With yarn:

```
yarn global add import-count
```

## Synopsis

```
Usage: import-count [options] [command]

Options:
-V, --version output the version number
-h, --help display help for command

Commands:
most-common [options] print each unique import found in along
with its number of occurrences, sorted by most
frequently occurring
fewest-imports [options] print each file in with its number of
imports, sorted by fewest imports
help [command] display help for command
```

## Legal

import-count is released under the MIT license. See `LICENSE` for details.