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

openblock-registry-cli

v1.0.6

Published

CLI tool for publishing plugins to OpenBlock Registry

Readme

OpenBlock Registry CLI

npm version License: MIT Node.js Version

Command-line tool for building, validating, and publishing plugins to OpenBlock Registry

📖 Overview

OpenBlock Registry CLI is the official tool for OpenBlock plugin developers. It streamlines the entire plugin development lifecycle from scaffolding to publishing.

Key Features

  • 🚀 Quick Start - Generate plugin scaffolds with interactive prompts
  • 🔨 Build System - Bundle and optimize plugins for production
  • 🔍 Validation - Comprehensive validation before publishing
  • 📦 Publishing - Automated PR creation to OpenBlock Registry
  • 🌍 i18n Support - Built-in translation management
  • Dev Mode - Hot reload for rapid development

📦 Installation

Prerequisites

  • Node.js >= 14.0.0
  • Git (for publishing)
  • GitHub Account (for publishing)

Install Globally

npm install -g openblock-registry-cli

Or use the short alias:

npm install -g openblock-registry-cli
# Then use 'obr' instead of 'openblock-registry-cli'

Verify Installation

openblock-registry-cli --version
# or
obr --version

🚀 Quick Start

1. Create a New Plugin

openblock-registry-cli init

Follow the interactive prompts to generate your plugin scaffold.

2. Develop Your Plugin

cd your-plugin-name
openblock-registry-cli dev

This starts development mode with hot reload. Your plugin will be:

  • Automatically rebuilt on file changes
  • Registered to the plugin server cache

You can open OpenBlock GUI and see your plugin in the device/extension list without publishing.

3. Build for Production

openblock-registry-cli build

Optional: Enable code obfuscation (minify, mangle, remove comments):

openblock-registry-cli build --obfuscate

4. Validate Your Plugin

openblock-registry-cli validate

5. Publish to Registry

openblock-registry-cli publish

This will:

  1. Run all validations
  2. Request your GitHub token (stored securely)
  3. Create a Pull Request to OpenBlock Registry
  4. Provide a PR link for tracking

Dry run (validate only, don't create PR):

openblock-registry-cli publish --dry-run

GitHub Token Setup:

  1. Go to GitHub Settings > Developer settings > Personal access tokens
  2. Click "Generate new token (classic)"
  3. Select scopes: repo (Full control of private repositories)
  4. Generate and copy the token
  5. Set it using: openblock-registry-cli config set github.token YOUR_TOKEN