npm-geoversion

1.0.4 • Public • Published

npm-geoversion

Bump the version of your npm module and automatically tag it with your current geo-coordinates. Combines the power of geopkg with the npm version command in one simple command: npm-geoversion

Build status js-standard-style

Notice: This module is now baked into geopkg: geopkg version patch, so I would recommend that you use that module instead.

Installation

npm install -g npm-geoversion

Usage

When ever you want to bump the version of your npm module, just run:

npm-geoversion <newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease

This will do exactly the same as npm version plus add your current position on planet earth to the package.json file:

{
  "coordinates": [55.8079696, 12.502925]
}

Example:

To bump the patch version of your module, run:

npm-geoversion patch

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.42latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.42
1.0.30
1.0.20
1.0.10
1.0.03

Package Sidebar

Install

npm i npm-geoversion

Weekly Downloads

5

Version

1.0.4

License

MIT

Last publish

Collaborators

  • watson