{"name":"version-io","version":"1.0.1","author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"version-io@1.0.1","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"http://github.com/coderaiser/version-io","bugs":{"url":"https://github.com/coderaiser/version-io/issues"},"bin":{"version-io":"bin/version.js"},"dist":{"shasum":"99bb36b4b10e7de19cb97d87d69a6c6d033b0ca5","tarball":"http://registry-npm.ywwl.com/version-io/download/version-io-1.0.1.tgz","integrity":"sha512-v0oph2fo581AP4yZpxw08AS3XuTzqRCmewR+zp/nTGk4vD8ut4s9JlxXW6oknZG9xui5Vmxy4YpFBOf82sDyOw==","signatures":[{"sig":"MEUCIQDJeiJYXzgvkMX9uY3mbOyfMZXAndohGXi84t96aQwA5AIgM2GHuRbxFJEciR335aDUUZU1EOwoDwKy6ANHkn1WCMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2077,"noattachment":false,"key":"/version-io/-/version-io-1.0.1.tgz"},"main":"lib/version.js","_from":".","_shasum":"99bb36b4b10e7de19cb97d87d69a6c6d033b0ca5","gitHead":"a1aabea48f354bdffd61fbfa35a77af568cc06f2","scripts":{},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"repository":{"url":"git://github.com/coderaiser/version-io.git","type":"git"},"_npmVersion":"1.4.28","description":"Semantic versioning tool. Apply major, minor, patch and version to package.json.","directories":{},"dependencies":{"minor":"~1.2.0","util-io":"~1.5.0"},"readme":"# Version-io\n\nSemantic versioning tool. Apply `major`, `minor`, `patch` and version to `package.json`.\n\n## Install\n\n`npm i version-io -g`\n\n## How to use?\n\nShow current version:\n\n```\n# version\nv1.0.0\n```\n\nSet new version:\n\n```\n# version v1.0.1\n# version\nv1.0.1\n```\n\nApply minor, major or patch:\n\n```\n# version minor\nv1.1.0\n```\n\nExtended view:\n\n```\n# version -e\n\n  1 | {\n  2 |     \"version\": \"5.0.0\",\n  3 |     \"engines\": {\n  4 |         \"node\": \">=22\"\n  5 |     }\n  6 | }\n```\n\n## Use as module\n\nInstall `version-io` with:\n\n```\nnpm i version-io -g\n```\n\n## API\n\n### `updateVersion(number: VersionNumber)`\n\n- `VersionNumber` could be new version number or `minor|major|patch`\n\n```js\nimport {updateVersion} from 'version-io';\n\nawait updateVersion('patch');\n```\n\n## License\n\nMIT\n","publish_time":1414739352619,"_cnpm_publish_time":1414739352619,"dist-tags":{"latest":"6.2.0"}}