New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pkg-rename

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkg-rename

A tiny CLI to help you rename your package and publish it to NPM ✨

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
1
Created
Source

Pkg Rename ✨

A tiny CLI to help you rename your package and publish it to NPM ✨

npm version npm downloads bundle size install size codecov license

Usage

# npm
npx pkg-rename@latest --old-name

# pnpm
pnpm dlx pkg-rename@latest --old-name

# bun
bunx pkg-rename@latest --old-name

# deno
deno run -A npm:pkg-rename@latest --old-name

Options

To see the available options run the command: npx pkg-rename@latest --help

Options:
  -V, --version              output the version number
  -o, --old-name <old-name>  The old package name and version that you want to deprecate
  -n, --new-name <new-name>  The new package name
  -m, --message <message>    Package deprecation message
  -h, --help                 display help for command

Published under the MIT license. Made by @selemondev and community 💛

Keywords

cli

FAQs

Package last updated on 11 Sep 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