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

warrantycheck

v1.0.4

Published

CLI tool for checking device warranty status across Dell, HP, and Lenovo

Readme

WarrantyCheck

CLI tool for checking device warranty status across Dell, HP, and Lenovo. Supports single lookups, bulk CSV/XLSX processing, expiration tracking, fleet summaries, and HTML reports.

Free and open source.

Built by IronLeaf.

Need a custom CLI? Email me.


Installation

npm install -g warrantycheck

Chromium is installed automatically on first install via the postinstall hook.

Requirements: Node.js 18+


Commands

Single lookup

warrantycheck lookup <serial>
warrantycheck lookup <serial> --vendor dell
warrantycheck lookup <serial> --json
warrantycheck lookup <serial> --quiet        # expiration date only

Vendor is auto-detected from the serial format if --vendor is omitted.


Bulk lookup

warrantycheck bulk devices.csv
warrantycheck bulk devices.csv --output results.csv
warrantycheck bulk devices.csv --json

# XLSX write-back — results written back into the source file
warrantycheck bulk devices.xlsx --serial-col "Service Tag"
warrantycheck bulk devices.xlsx --serial-col "Serial Number" --vendor-col "Vendor"

# Resume support — already-completed serials are skipped automatically
# Rate-limited serials are retried on the next run

CSV input format:

serial,vendor
ABC1234,dell
5CD9876543,hp
PF3XXXXXX,lenovo

The vendor column is optional — vendor is auto-detected per row if omitted.


Expiring devices

warrantycheck expiring results.csv              # default 90-day window
warrantycheck expiring results.csv --days 30
warrantycheck expiring results.csv --json
warrantycheck expiring results.csv --output expiring.csv

Fleet summary

warrantycheck summary results.csv
warrantycheck summary results.csv --json

Shows total, active, expiring (≤90 days), and expired counts by vendor.


Client profiles

Profiles store a pointer to an XLSX file so you don't have to retype paths and column names.

warrantycheck profile add --name acme --file /path/to/acme.xlsx --serial-col "Service Tag"
warrantycheck profile list
warrantycheck profile edit --name acme --file /new/path.xlsx
warrantycheck profile remove --name acme

# Run bulk/summary/expiring against a profile
warrantycheck bulk --profile acme
warrantycheck bulk --all
warrantycheck summary --profile acme
warrantycheck expiring --profile acme --days 60

HTML report

Generates a self-contained HTML file with a color-coded device table, vendor breakdown, and summary stats.

warrantycheck report results.csv --output report.html
warrantycheck report --profile acme --output acme-report.html
warrantycheck report --all --output all-clients.html

Dell API credentials

By default, warrantycheck uses browser-based lookups. If you have Dell TechDirect API credentials, you can supply them for faster, more reliable Dell lookups:

warrantycheck config set --dell-client-id <id> --dell-client-secret <secret>
warrantycheck config show

Supported Vendors

| Vendor | Serial format | Example | |--------|--------------|---------| | Dell | 7 chars (alphanumeric) | ABC1234 | | HP | 10 chars (alphanumeric) | 5CD9876543 | | Lenovo | 7–12 chars (alphanumeric) | PF3XXXXXX |


Global flags

--no-color      Disable colored output
--no-headless   Show browser window (debug)
--help          Show help for any command
--version       Show version

Custom Work

IronLeaf builds developer tools and automation for infrastructure teams. If you need something that doesn't exist yet — a custom CLI, an n8n node, an MCP server, an API integration, or a workflow that ties your stack together — I'm available for hire.

Email me