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

global-warming-checker

v1.0.3

Published

README

Downloads

3

Readme

global-warming-ckecker

global-warming-checker is a CLI tool that allows users to select a location, base year, comparison year, and month through a series of questions and displays temperature data as a line graph. This tool scrapes data from the Japan Meteorological Agency and visualizes the data for comparison.

Features

  • Interactive Questions: Uses the Enquirer library to ask users for the location, base year, comparison year, and month.
  • Web Scraping: Scrapes the Japan Meteorological Agency's website for average and maximum temperatures based on user input.
  • Data Visualization: Uses the Chart.js library to display the scraped data as a line graph.

image

  • Server Activation: Starts a local server using the Express library, allowing users to view the results in their browser.

Installation

Run the following command in any directory.

npm init -y
npm install global-warming-checker

Usage

  1. Run the program:
node node_modules/global-warming-checker/src/main.js

Alternatively, you can add the following to package.json to make it executable with npm start.

{
  "scripts": {
    "start": "node node_modules/global-warming-checker/src/main.js"
  }
}
  1. Answer the questions prompted by the Enquirer library.
  1. After all questions are answered:
  • The program will scrape the Japan Meteorological Agency's website for the specified location, year, and month to obtain the average and maximum temperatures.
  1. The program will create an HTML element with a line graph displaying the data using the Chart.js library.

  2. Start the local server using the Express library:

Required Libraries

  • Enquirer
  • Puppeteer
  • Express
  • Open

Contributing

Contributions are welcome! Please report bugs or suggest features through the Issues page.

License

This project is licensed under the MIT License. See the LICENSE file for details.


If you have any questions or feedback, please contact us.