forked from BlackB1RD-Development/tools-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
56 lines (47 loc) · 1.11 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Tools-Kit By BlackB1RD-Development. All rights reserved ©
// Website: https://tools-kit.js.org/
// Project: https://github.com/BlackB1RD-Development/tools-kit
// License: MIT
// Requires - Files
const packageJSON = require('./package.json');
const Hastebin = require('./lib/Clients/Hastebin.js');
const Logger = require('./lib/Managers/Logger.js');
const Color = require('./lib/Managers/Color.js');
const Util = require('./lib/Utilities/Util.js');
/**
* The Tools-Kit package class
*/
class Kit {
/**
* The package version
* @returns {String} The package version
* @access private
* @private
* @readonly
*/
static get pVersion() {
return packageJSON.version;
}
/**
* The package name
* @returns {String} The package name
* @access private
* @private
* @readonly
*/
static get pName() {
return packageJSON.name;
}
}
// Assignments
Kit.version = Kit.pVersion;
Kit.name = Kit.pName;
Kit.Hastebin = Hastebin;
Kit.hastebin = Hastebin;
Kit.Logger = Logger;
Kit.logger = Logger;
Kit.Color = Color;
Kit.color = Color;
Kit.Util = Util;
Kit.util = Util;
module.exports = Kit;