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 🙏

© 2025 – Pkg Stats / Ryan Hefner

orz-cli

v0.1.2

Published

A command-line interface (CLI) tool for streamlining development workflows.

Readme

orz-cli

A command-line interface (CLI) tool for streamlining development workflows.

Features

  • Create GitHub pull requests with automated Jira ticket creation
  • Create Jira tickets with customizable fields
  • Configure and manage project settings
  • Simple command interface with interactive prompts

Installation

Use npm/pnpm/yarn

# Install through npm
npm install -g orz-cli

# Install through pnpm
pnpm install -g orz-cli

# Install through yarn
yarn global add orz-cli

Use git repository directly

# Clone the repository
git clone [repository-url]
cd orz-cli

# Install dependencies
pnpm install

# Link the CLI globally
pnpm link --global

Setup

The CLI requires configuration for Jira integration. Run the setup command to configure required settings:

# Initialize the CLI configuration
orz-cli setup

During setup, you'll be prompted to provide:

  • Your Jira username (email)
  • Your Jira URL (e.g., https://your-domain.atlassian.net)
  • Your default Jira project key
  • Your Jira API token (stored securely)

The setup also checks if GitHub CLI (gh) is installed, which is required for PR creation functionality.

Configuration Files

The CLI stores configuration in platform-specific locations:

  • macOS: ~/Library/Application Support/orz-cli/
  • Windows: %APPDATA%/orz-cli/
  • Linux: ~/.local/share/orz-cli/

jira_config.json

The jira_config.json file stores your Jira configuration and is created automatically during setup. It contains:

{
  "username": "[email protected]",
  "url": "https://your-domain.atlassian.net",
  "defaultProjectKey": "PROJ",
  "supportedIssueTypes": ["Story", "Task", "Sub-task"],
  "parentEpicChoices": [
    { "name": "My Epic", "value": "PROJ-2" },
    { "name": "My Epic 2", "value": "PROJ-3" }
  ],
  "parentStoryChoices": [{ "name": "My Task", "value": "PROJ-3" }],
  "accountId": "your-account-id",
  "autoAssign": true
}

Your Jira API token is stored separately in a secure file and is not included in this JSON file.

You can modify this file manually if needed, or run orz-cli setup --force to recreate it.

Usage

# Show help and available commands
orz-cli --help

# Run the setup command to configure required settings
orz-cli setup

# Create a GitHub pull request with the current branch changes
orz-cli gh-pull-request

# Create a Jira ticket
orz-cli create-jira-ticket

Available Commands

setup

Configure the CLI tool with required settings (Jira credentials, GitHub CLI check).

Options:

  • -f, --force - Force setup even if configuration already exists

gh-pull-request

Create a GitHub pull request with the current branch changes.

Options:

  • -j, --jira - Create a Jira ticket for this PR (default: true)
  • --jira-project <jiraProject> - Jira project key (default: Your Jira Config)
  • --jira-type <jiraType> - Jira issue type

create-jira-ticket

Create a Jira ticket with specified details.

Options:

  • -p, --project <project> - Jira project key (default: Your Jira Config)
  • -s, --summary <summary> - Issue summary
  • -d, --description <description> - Issue description
  • -t, --type <type> - Issue type (e.g., Bug, Task, Story)
  • -l, --labels <labels> - Comma-separated list of labels

Development

# Build in watch mode
pnpm run build:watch

# Run tests
pnpm test

# Check code formatting
pnpm run prettier

# Run linter
pnpm run lint

# Check types
pnpm run type-check

Requirements

  • Node.js v18 or higher
  • GitHub CLI (gh) installed for PR creation functionality
  • Jira account for ticket creation functionality

License

MIT License. See the LICENSE file for details.