Skip to content

ichiwa/dependency-import-counter

Repository files navigation

dependency-import-counter npm version

Helps you understand your project's dependency usage by counting the number of imports.

Table of Contents

Install

To install dependency-import-counter globally, use the following command:

$ npm install -g dependency-import-counter

Usage

You can specify the directory to be analyzed. If no directory is specified, the default directory is ./src.

$ dependency-import-counter ./src

@mdx-js/react: 0
sanitize-filename: 2
@react-hook/merged-ref: 3
semver: 7
react-i18next: 616

You can also specify multiple directories:

$ dependency-import-counter ./src1 ./src2 ./src3

The results will be merged and displayed in the console.

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2023 ichiwa

About

Helps you understand your project's dependency usage by counting the number of imports.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published