npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@prodigytech/js-dependency-check

v6.0.1

Published

A utility that checks a projects dependencies and returns a report of the which dependencies are out of date, deprecated, or up to date

Downloads

33

Readme

Project Dependency Checker

The Project Dependency Checker is a powerful utility tool that serves as a Dev Dependency add-on for your JavaScript projects. Its primary function is to provide you with a comprehensive and insightful report on your project's dependencies, giving you a clear indication of their update status. By comparing your project dependencies against the npm registry, this tool ensures that you are aware of any outdated dependencies that may impact your project's stability and security.

Installation

To integrate this package into your project, simply execute one of the following commands:

yarn add @prodigytech/js-dependency-check -D

or

npm install @prodigytech/js-dependency-check --save-dev

Setup

Setting up the utility is a breeze, and you have multiple options to choose from:

  1. package.json Configuration: You can conveniently configure the utility by adding a dependencyCheckConfig object to your project's package.json file. This configuration allows you to customize the report type, specify the fail-on criteria, and even define specific packages to ignore.
"dependencyCheckConfig": {
    "reportType": "CI|HTML|JSON",
    "failOn": "MAJOR|MINOR|NONE",
    "ignorePackages": [
        "@babel/preset-env",
        "..."
    ]
}
  1. Standalone JSON Configuration: Alternatively, you can create a separate JSON configuration file named dependencyCheckConfig.json. This file provides a clean and dedicated space to configure the utility with the desired report type, fail-on criteria, and any packages you wish to exclude.
{
    "reportType": "CI|HTML|JSON",
    "failOn": "MAJOR|MINOR|NONE",
    "ignorePackages": [
        "@babel/preset-env",
        "..."
    ]
}
  1. Command-Line Arguments: For those who prefer flexibility and quick setup, the utility also supports configuration through command-line arguments. Simply pass the desired options when running the utility command.
npx @prodigytech/js-dependency-check --reportType "CI|HTML|JSON" --failOn "MAJOR|MINOR|NONE" --ignorePackages axios react eslint

Usage

Using the Project Dependency Checker is straightforward and user-friendly:

  1. Ensure that you have successfully added the utility as a dependency in your project.
  2. Configure the utility according to your preferences, utilizing any of the available configuration methods: package.json, standalone JSON file, or command-line arguments.
  3. Execute the following command to run the utility:
npx @prodigytech/js-dependency-check

The generated report will be saved to the root directory of your project for JSON and HTML report types. If you choose the CI report type, it will be directly displayed on your screen. Additionally, if you have configured the fail-on option with packages that meet the specified criteria, the process will gracefully exit with a non-zero exit code.