Socket
Book a DemoInstallSign in
Socket

npm-geoversion

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-geoversion

Tag npm modules with your current geo-coordinates every time you bump the version

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

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

Keywords

geo

FAQs

Package last updated on 15 Aug 2015

Did you know?

Socket

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.

Install

Related posts