same-version

0.2.0 • Public • Published

Version Check NPM version

Check if versions of two files match

Install

$ npm install --save same-version

Usage

The function requires two filepaths of the versions you would like to check.

Example:

var sameVersion = require('same-version');
sameVersion('./config.local.json', './config.json');

config.json:

{
  "version": "1.0.0",
}

Changelog

v0.1.0 - 2018-07-02

  • Initial release

Readme

Keywords

Package Sidebar

Install

npm i same-version

Weekly Downloads

3

Version

0.2.0

License

ISC

Unpacked Size

14.8 kB

Total Files

8

Last publish

Collaborators

  • gekkie
  • semmie
  • stefspakman
  • markkes
  • tmhrtwg
  • thomasdik
  • sbuteneers
  • sjerdo
  • blissful89
  • reggino