
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
json-bumper
Advanced tools
bumps the "version" entry for a JSON file
An easy to use component to bump the semver version of a JSON file. Includes both an exported package and a CLI.
npm i json-bump
const bump = require('json-bump')
bump('package.json', { major: 1 })
$ json-bump package.json
Updated package.json version from 0.1.2 to 0.1.3
$ json-bump data.json --minor
Updated data.json version from 1.0.5 to 1.1.0
$ json-bump
Usage: json-bump FILENAME [FLAGS]
Bumps the version in a json file using semver (MAJOR.MINOR.PATCH)
--replace=semver this replaces the entire semver with the given string
--major=1 increment the major version (increments by 1 if flagged but not specified)
--minor=1 increment the minor version (increments by 1 if flagged but not specified)
--patch=1 increment the patch version (increments by 1 if flagged but not specified)
--entry=name change entry updated (defaults is "version")
--spaces=4 number of spaces to format the .json file (set to 0 to remove spaces)
If no FLAGS are specified, increments PATCH by 1
bumps the "version" entry for a .json file
MIT License
(c) 2017 YOPEY YOPEY LLC by David Figatner
FAQs
bumps the "version" entry for a JSON file
The npm package json-bumper receives a total of 6 weekly downloads. As such, json-bumper popularity was classified as not popular.
We found that json-bumper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.