Socket
Book a DemoInstallSign in
Socket

@cjkihl/publish

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cjkihl/publish

Smart package publishing tool

0.1.12
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@cjkihl/publish

A smart package publishing tool that helps you manage and publish npm packages with ease. This tool provides intelligent version checking, retry mechanisms, and support for multiple package managers.

Features

  • 🔍 Smart version checking before publishing
  • 🔄 Automatic retry with exponential backoff
  • 🎯 Support for multiple package managers (npm, yarn, pnpm, bun)
  • 🛡️ Dry run mode for safe testing
  • 🏷️ Custom tag support
  • 🔒 Access control (public/restricted)
  • ⏭️ Skip private packages automatically

Installation

npm install @cjkihl/publish

Usage

As a Module

import { publish } from '@cjkihl/publish';

// Basic usage
await publish('./path/to/package');

// With options
await publish('./path/to/package', {
  retries: 5,
  retryDelay: 2000,
  dryRun: true,
  access: 'public',
  tag: 'beta'
});

As a CLI

# Basic usage
publish ./path/to/package

# With options
publish ./path/to/package --dry-run --tag beta

Options

OptionTypeDefaultDescription
retriesnumber3Number of retry attempts if publish fails
retryDelaynumber1000Initial delay between retries in milliseconds
dryRunbooleanfalseRun in dry-run mode without actually publishing
access'public' | 'restricted''public'Package access level
tagstring'latest'Distribution tag to publish to

Requirements

  • Node.js >= 18.0.0

License

MIT © @cjkihl

Keywords

publish

FAQs

Package last updated on 16 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.