Socket
Socket
Sign inDemoInstall

banben

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

banben

A better `npm version`.


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

banben

A better npm version. This tool is exactly what I want in a version-bumping tool, nothing more and nothing less. You probably shouldn't use this! Check out fabiospampinato/bump for something more configurable.

[!TIP] The word "banben" comes from the Chinese word 版本 (bǎnběn), meaning "version"!

Installation

npm -g i banben
pnpm -g add banben
yarn -g add banben
bun -g add banben

Usage

banben [<version> | major | minor | patch | premajor | preminor | prepatch | prerelease]

Banben runs through three steps, and prompts you along the way to confirm each action:

  1. Write the version to the package.json.
  2. Make a commit for the version (message defaults to the v${version}).
  3. Create a version tag.
  4. Push the version tag and commit.

License

MIT

FAQs

Package last updated on 09 Jan 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc