-
Notifications
You must be signed in to change notification settings - Fork 1
/
nflnerd.js
81 lines (78 loc) · 1.39 KB
/
nflnerd.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
const api = require('./src/api')
const teams = require('./src/teams')
const Request = require('./src/request')
const getAllGameRelated = require('./src/getters/getAllGameRelated')
const getAthlete = require('./src/getters/getAthlete')
const getPlayByPlays = require('./src/getters/getPlayByPlays')
const getSeasonGames = require('./src/getters/getSeasonGames')
const {
jsParser,
cleanRef,
createAndWrite,
dateValue,
deepExclude,
isFunction,
flattenObject,
getType,
json1L,
objectPicker,
getCurrentSeason,
hash,
prettyJSON,
loadJSON,
parseArgs,
getFileDir,
getNormalize,
resolvePath,
parseRefId,
getCleanDate,
mapObjArrays,
getCSVString,
testDateIfCompleted,
testDateIfFuture,
updateObjectTemplate,
deepUpdateObject,
dataCleanup,
getYMD
} = require('./src/utils')
module.exports = {
api,
teams,
Request,
}
module.exports.getters = {
getAllGameRelated,
getAthlete,
getPlayByPlays,
getSeasonGames
}
module.exports.utils = {
jsParser,
cleanRef,
createAndWrite,
dateValue,
deepExclude,
isFunction,
flattenObject,
getType,
json1L,
objectPicker,
getCurrentSeason,
hash,
prettyJSON,
loadJSON,
parseArgs,
getFileDir,
getNormalize,
resolvePath,
parseRefId,
getCleanDate,
mapObjArrays,
getCSVString,
testDateIfCompleted,
testDateIfFuture,
updateObjectTemplate,
deepUpdateObject,
dataCleanup,
getYMD
}