From ed588ba43c77c0a31db8c25f1a3c0b3e0213bef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sun, 25 Apr 2021 00:03:31 +0100 Subject: [PATCH] Export version number --- lib/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 9064046..bbb5544 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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; \ No newline at end of file +module.exports = yellowLabTools; +module.exports.version = packageJson.version; \ No newline at end of file