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

bugtracker-cli

v1.0.0

Published

A command-line tool for automating Bugtracker (Redmine) issue management

Downloads

10

Readme

Bugtracker CLI

A command-line tool for automating Bugtracker (Redmine) issue management.

Features

  • Bulk assign issues to team members
  • Update issue status and target versions
  • Cache projects and team members for faster workflow
  • Interactive prompts with search functionality

Installation

Install globally via npm

npm install -g bugtracker-cli

Or use with npx (no installation required)

npx bugtracker-cli <command>

For development

git clone https://github.com/LinhNguyen1059/bugtracker-cli.git
cd bugtracker-cli
npm install
npm run build

Usage

Setup API Key

npx bugtracker setup

Load Projects

Fetch and cache available projects:

npx bugtracker load-projects

Assign Issues

Bulk update multiple issues:

npx bugtracker assign-issues

This command will prompt you for:

  • Project selection
  • Issue URLs (comma-separated)
  • Status
  • Target version
  • Assignee

Clear Configuration

Remove saved API key and cached data:

npx bugtracker clear-config

Project Structure

src/
├── cli.ts                      # Main CLI entry point
├── config.ts                   # Configuration management
├── constants.ts                # Application constants
├── types.ts                    # TypeScript type definitions
├── commands/                   # Command implementations
│   ├── assignIssue.ts         # Issue assignment command
│   └── projects.ts            # Project management commands
├── services/                   # API services
│   └── apiService.ts          # Bugtracker API client
└── utils/                      # Utility functions
    ├── helpers.ts             # General helper functions
    ├── logger.ts              # Logging utilities
    ├── prompts.ts             # User prompt utilities
    └── validators.ts          # Input validation functions

Architecture

Separation of Concerns

  • Commands: High-level command orchestration
  • Services: API communication layer
  • Utils: Reusable utility functions
  • Config: Configuration and persistence management

Key Improvements

  1. API Service Layer: All HTTP requests are centralized in BugtrackerApiService
  2. Constants: Hardcoded values moved to a single constants file
  3. Type Safety: Comprehensive TypeScript types for better IDE support
  4. Logging: Consistent, color-coded logging utilities
  5. Validators: Reusable input validation functions
  6. Helpers: Common operations extracted into utility functions
  7. Prompts: User interaction logic separated from business logic

Benefits

  • Maintainability: Clear separation makes it easy to locate and modify code
  • Testability: Services and utilities can be easily unit tested
  • Readability: Smaller, focused functions with clear responsibilities
  • Reusability: Common functionality extracted into utilities
  • Type Safety: Comprehensive types catch errors at compile time
  • Extensibility: New commands can easily reuse existing services and utilities

Development

Build

npm run build

Run Locally

node bin/bugtracker <command>

License

ISC