1.0.4 • Published 9 months ago

package-comparer v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Package Version Comparison Script

This repository contains a Node.js script that compares the dependencies in two package.json files. It highlights version mismatches and lists packages that are unique to each project.

Features

  • Custom Project Names: Specify names for the projects being compared.
  • Sectioned Output: Organized output that clearly differentiates between:

    • Packages present in both projects (with version comparisons)
    • Packages only in the first project
    • Packages only in the second project

      Example report (markdown):

      alt text alt text

Prerequisites

Getting Started

  1. Clone the Repository into the same folder as your other repos

    npm install -g package-comparer

    Your repos folder would look like (name of repos folder doesn't matter):

    repos
    - repository_1
    - repository_2
    - repository_3
    ...
  2. Run script with repository names

Open a terminal in the repos directory (it must be similar structure to the above)

 compare-packages repository_1 repository_2

You can view the generated markdown in "comparison-results.md"

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago