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

rylans-node-tools

v2.0.0

Published

A collection of tiny cli tools

Readme

Rylan's Node Tools

A collection of tiny cli tools.

Installation

General

npm install -g rylans-node-tools

Take Over

  1. Clone repository to local machine.
  2. Run yarn install to install all dependencies.
  3. Run yarn link to link this package with global dependency.
  4. Run yarn build or yarn dev to build source code into lib folder and take over from there.

Usage

  1. After installation, you should be able to run node-tools or nt as a global command.
  2. Check node-tools --help to explore different useful commands.

Available Commands

greet

Basic test of the installation of the tool. Greet in specified language, or random if not provided.

| Params | Required | Value | Description | | ---------- | -------- | -------------------------- | ------------------ | | --lang, -l | N | en, fr, jp, sp, cn, it, ru | Specify a language |

For example:

$ nt greet -l en
Hi

$ nt greet
Bonjour

git

Search oh-my-zsh git command shorthands.

| Arguments | Required | Description | | --------------- | -------- | ------------------------------------------ | | <search_string> | Y | Search any git commands with search_string |

For example:

$ nt git remote

  gbr: git branch remote
   gr: git remote
  gra: git remote add
 grmv: git remote rename
 grrm: git remote remove
grset: git remote set-url
 grup: git remote update
  grv: git remote -v

color

Handy color converter between rgb format and Hex format.

For example:

nt color
? Input color value: 0, 111, 222
#006fde

Supported input formats:

RGB input:

rgb(255, 255, 255)
255, 255, 255
255 255 255

Hex input:

#fff
#FFFFFF
fff
FFFFFF

chatgpt or cg

Integrated OpenAI's ChatGPT API into command line.

For first time use, enter API_KEY generated from https://platform.openai.com/account/api-keys.

| Arguments | Required | Value | Description | | ---------- | -------- | ------ | --------------------------- | | [question] | N | String | The question to ask ChatGPT |

| Params | Required | Value | Description | | ------------ | -------- | ------ | ---------------- | | --config, -c | N | None | Update API_KEY |

Examples:

$ nt cg -c

Please create and/or enter your API Key from https://platform.openai.com/account/api-keys

? Enter API Key:
$ nt cg how many countries are there in Asia

>>>>> Answer 💬 <<<<<<

There are 48 countries in Asia.
$ nt cg

? Ask ChatGPT:  What is the opposite color of cyan

>>>>> Answer 💬 <<<<<<

The opposite color of cyan is red-orange.