aboutsummaryrefslogtreecommitdiff
path: root/src/hypixelCached.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixelCached.ts')
-rw-r--r--src/hypixelCached.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index 7f0305e..74b1366 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -1,3 +1,7 @@
+/**
+ * Fetch the clean and cached Hypixel API
+ */
+
import NodeCache from 'node-cache'
import * as mojang from './mojang'
import * as hypixel from './hypixel'
@@ -5,11 +9,6 @@ import { CleanPlayer } from './cleaners/player'
import { undashUuid } from './util'
import { CleanProfile, CleanFullProfile, CleanBasicProfile } from './cleaners/skyblock/profile'
-/**
-Hypixel... but with caching
-All the caching in this project is done here!
-*/
-
// cache usernames for 4 hours
const usernameCache = new NodeCache({