version-io
Semantic versioning tool. Apply major, minor, patch and version to package.json.
Last updated 7 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install version-io 
SYNC missed versions from official npm registry.

Version-io

Semantic versioning tool. Apply major, minor, patch and version to package.json.

Install

npm i version-io -g

How to use?

Show current version:

# version
v1.0.0

Set new version:

# version v1.0.1
# version
v1.0.1

Apply minor, major or patch:

# version minor
v1.1.0

Extended view:

# version -e

  1 | {
  2 |     "version": "5.0.0",
  3 |     "engines": {
  4 |         "node": ">=22"
  5 |     }
  6 | }

Use as module

Install version-io with:

npm i version-io -g

API

updateVersion(number: VersionNumber)

  • VersionNumber could be new version number or minor|major|patch
import {updateVersion} from 'version-io';

await updateVersion('patch');

License

MIT

Current Tags

  • 6.2.0                                ...           latest (3 months ago)

28 Versions

  • 6.2.0                                ...           3 months ago
  • 6.1.2                                ...           10 months ago
  • 6.1.1                                ...           10 months ago
  • 6.1.0                                ...           10 months ago
  • 6.0.0                                ...           10 months ago
  • 5.0.0                                ...           2 years ago
  • 4.0.1                                ...           7 years ago
  • 4.0.0                                ...           7 years ago
  • 3.0.0                                ...           7 years ago
  • 2.0.3                                ...           8 years ago
  • 2.0.2                                ...           9 years ago
  • 2.0.1                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.2.5                                ...           11 years ago
  • 1.2.4                                ...           11 years ago
  • 1.2.3                                ...           11 years ago
  • 1.2.2                                ...           11 years ago
  • 1.2.1                                ...           11 years ago
  • 1.2.0                                ...           12 years ago
  • 1.1.1                                ...           12 years ago
  • 1.1.0                                ...           12 years ago
  • 1.0.6                                ...           12 years ago
  • 1.0.5                                ...           12 years ago
  • 1.0.4                                ...           12 years ago
  • 1.0.3                                ...           12 years ago
  • 1.0.2                                ...           12 years ago
  • 1.0.1                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 116
Today 0
This Week 0
This Month 58
Last Day 0
Last Week 4
Last Month 58
Dependencies (5)
Dev Dependencies (5)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE