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

boolean-cli

v2.3.5

Published

CLI for BooleanCareers Teachers and Tutors.

Readme

Boolean CLI

This is a CLI for BooleanCareers Teachers and Tutors.

Its purpose is to provide useful tools to use in their daily work and simplify repetitive tasks live renaming and uploading zoom video recordings, scaffolding new projects, create github repos and more.

Requirements

  • NodeJS
  • NPM
  • Git
  • Github CLI (optional)

Installation

The CLI is available as a package on NPM. To install it, run the following command:

npm install -g boolean-cli

Usage

In a terminal, run boolean to see the available commands.

boolean --help

Commands / Modules

Config

This module is used to configure the CLI. It allows you to set the default values for the other modules.

Options

  • -a | --all - Read all existing settings
  • -r | --reset - Reset and remove all existing settings
# Read all existing settings
boolean config -a

# Reset and remove all existing settings
boolean config -r

Commands

  • video-rename [options] - Settings for video-rename command
    • Options
      • -s | --show-all - Read all existing settings for this command
      • --drive-folder [path] - Path to the folder where the videos will be stored
      • --multipart-files [true|false] - If true, when renaming a video, will be prompted with the right name suggestion
# Read all existing settings for video-rename command
boolean config video-rename -s

# Set the drive folder path
boolean config video-rename --drive-folder /path/to/folder

# Read the configured drive folder path
boolean config video-rename --drive-folder

# Set multipart files to true
boolean config video-rename --multipart-files true|false

# Read the configured multipart files value
boolean config video-rename --multipart-files

Video Rename

Tool for renaming zoom video recordings based on the Boolean Careers naming convention. It also allows you to upload the renamed videos to a Google Drive folder. For this feature you will first need to configure the CLI with the Google Drive folder path.

Options

  • -u or --upload - Upload the renamed videos to the configured folder
  • -d <path> or --dir <path> - Path to the folder where the process will look for the videos to rename
  • -r or --revert - Revert the renaming process
# Show help
boolean video-rename --help

# Start wizard for renaming all videos in the current folder
boolean video-rename [-u]

# Start wizard for renaming all videos in the specified folder
boolean video-rename -d <path> [-u]

# Revert the last renaming operation. 
# If a directory is specified, it will work in that directory.
boolean video-rename [-d <path>] -r

Scaffold

Tool for scaffolding new projects. It will create the specified files inside the specified folder.

Creatable files are:

  • HTML
  • PHP
  • CSS
  • JS
  • Images
  • README.md

Also allow to include third party libraries (prompted when creating an HTML file), through CDN, like:

  • Bootstrap
  • Font Awesome
  • Axios
  • Vue 3

Options

  • -a | --all - Create basic HTML, CSS, JS and README.md files
  • -d | --dir <path> - Path to the folder where the files will be created (default: current folder)
  • -h | --html [filename] - Create basic HTML file (default: index.html)
  • -p | --php [filename] - Create basic PHP file (default: index.php)
  • -c | --css [filename] - Create basic CSS file (default: css/style.css)
  • -j | --js [filename] - Create basic JS file (default: js/main.js)
  • -i | --img - Create images folder with a logo and favicon
  • -r | --readme [filename] - Create README.md file
# Show help
boolean scaffold --help

# Start wizard for scaffolding a new project
boolean scaffold [-d path/to/folder]

# Create basic HTML, CSS, JS and README.md files
boolean scaffold -a [-d path/to/folder]

# Create basic HTML file with the specified name or with default name
boolean scaffold -h [filename] [-d path/to/folder]

# Create basic PHP file with the specified name or with default name
boolean scaffold -p [filename] [-d path/to/folder]

# Create basic JS file with the specified name or with default name
boolean scaffold -j [filename] [-d path/to/folder]

# Create basic CSS file with the specified name or with default name
boolean scaffold -c [filename] [-d path/to/folder]

# Create images folder with a logo and favicon
boolean scaffold -i [-d path/to/folder]

# Create a .md file with the specified name or with default name
boolean scaffold -r [filename] [-d path/to/folder]

Repo Creator

Tool for creating a new Github repository. It will create the repository, clone it, scaffold it and create an initial commit.

Requires Git and the Github CLI to be installed.

Arguments

  • repo_title - Title of the repository (required)

Options

  • -o | --org <org_name> - Name of the organization where the repository will be created
  • -d | --delete <repo-name> - Delete the specified repository
  • -p | --public - Create a public repository (default: private)
  • -ei | --existIgnore Ignore it the repository already exists and continue with the process
# Show help
boolean repo --help

# Start wizard for creating a new repository
boolean repo <repo_title> [-o org_name] [-p]

# Create a public repository
boolean repo <repo_title> -p

# Create a public repository in the specified organization
boolean repo <repo_title> -o <org_name> -p

# Ignore it the repository already exists and continue with the process
boolean repo <repo_title> -ei

# Delete the specified repository
boolean repo <repo_name> -d 

# Delete the specified repository in the specified organization
boolean repo <organization/repo_name> -d
boolean repo <repo_name> -d -o <org_name>