Export version number

This commit is contained in:
Gaël Métais
2021-04-25 00:03:31 +01:00
parent c9f63138a0
commit ed588ba43c
+4 -1
View File
@@ -2,6 +2,8 @@ var Q = require('q');
var Runner = require('./runner');
var packageJson = require('../package.json');
var yellowLabTools = function(url, options) {
'use strict';
@@ -39,4 +41,5 @@ var yellowLabTools = function(url, options) {
return deferred.promise;
};
module.exports = yellowLabTools;
module.exports = yellowLabTools;
module.exports.version = packageJson.version;