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 🙏

© 2026 – Pkg Stats / Ryan Hefner

pkgtracker

v1.0.5

Published

This package presents the CLI tool for the **SDK Tooling Challenge** by Dyte. It presents a CLI tool called *pkgtracker* that can make sure the dependencies for a NodeJS project are up-to-date. It was developed using **NodeJS**. The following sections de

Downloads

9

Readme

About

This package presents the CLI tool for the SDK Tooling Challenge by Dyte. It presents a CLI tool called pkgtracker that can make sure the dependencies for a NodeJS project are up-to-date. It was developed using NodeJS. The following sections describe how to setup and use this tool.

Getting Started

The following sub-sections describe the installation and usage procedures of the pkgtracker.

Installation

This tool has been published on npm and can thus be installed with one simple command:

npm install pkgtracker

Once installed, the tool can be used directly from the command line.

Usage

This tool provides two commands, one to check if the current version of a given dependency is greater than or equal to the specified version from a given CSV file of NodeJS repositories, and another that performs the check function and creates a PR for those repositories that have the version lower than the one specified. The same can be found using the following command:

pkgtracker -h

The check command

This command, as mentioned before, checks if the current version of a given dependency is greater than or equal to the specified version from a given CSV file of NodeJS repositories. It takes in four options, --input, --dependency, --save and --output. More information about these options can be found by running the command below:

pkgtracker check -h

An example run of this command can be as follows:

pkgtracker check -i tests/test.csv -d [email protected]

The update command

This command, as mentioned previously, performs the check function and creates a PR for those repositories that have the version lower than the one specified. It also takes in four options, --input, --dependency, --save and --output. More information about these options can be found by running the command below:

pkgtracker update -h

An example run of this command can be as follows:

pkgtracker update -i tests/test.csv -d [email protected]

Note that the update command internally executes an npm install command using a child process. This command will thus temporarily create package.json, package-lock.json and node_modules which can then be updated accordingly by the npm install command. However, these temporarily files will be deleted at the end of the operation. Also, any pre-exisiting package.json, package-lock.json or node_modules will be renamed in advance to prevent overwriting.

Another important thing to note is the update made to package-lock.json as a result of the npm install command depends on the version of npm used (that is, the version of the lockfile). This means that if the dependency's old package-lock.json file is lockfile version 1 (created using npmv5 or npmv6) and the current version of npm is v7, the package-lock.json file will be upgraded to lockfile version 2 and the structure of the file will change accordingly. This will however not harm the overall functionality.