Check if versions of two files match
$ npm install --save same-version
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",
}
v0.1.0 - 2018-07-02
- Initial release