src/Trending.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 18
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 9
mnd 0
bc 0
fnc 3
dl 0
loc 18
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
/**
2
 * @author Jinzulen
3
 * @license Apache 2.0
4
 * TenorJS - Lightweight NodeJS wrapper around the Tenor.com API.
5
 */
6
7
module.exports = function (Credentials, Utilities)
8
{
9
      const Methods = {};
10
	
11
	Methods.GIFs = function (Limit, Callback)
12
	{
13
		return require("./Methods/Trending/GIFs")(Credentials,
14
			Utilities, Limit, Callback);
15
	};
16
17
	Methods.Terms = function (Callback)
18
	{
19
		return require("./Methods/Trending/Terms")(Credentials,
20
			Utilities, Callback);
21
	};
22
23
	return Methods;
24
};