Skip to content

stefspakman/same-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published