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
$ cnpm 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.1.2                                ...           latest (2 months ago)

27 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |