2.0.0 • Published 1 year ago

dependency-mapper v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Dependency Mapper

A Node.js application to iterate over a folder or a file and generate a JSON file that lists down all relative dependencies used in the module. The application maps these imports to find all the relative imports for both commonJS and ES6 modules, making it easier to understand the external dependencies of the project.

Note:- This package do not support alias imports rights now and they might be shown as other imports along with npm imports.

Getting Started

To use the Dependency Mapper, follow these steps:

  1. Install the package using npm by running npm install dependency-mapper.
  2. Generate mapper.json file by running dependency-mapper -t <Relative path of file or folder> or npx dependency-mapper -t <Relative path of file or folder>.
  3. The generated JSON file will be located in the project directory.

Prerequisites

  • Node.js
  • npm

Authors

  • Rahul Jindal