-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
index: code and performance optimizations
- switched from `node-fetch` to `undici` since it has 0 dependencies and was made by the Node.js organization. - made so that `readConfig()` won't do I/O calls every time you call it. the config data should be stored in a global variable called `configData`, `writeConfig()` would also overwrite this. - other misc code refactors. see changes in commits.
- Loading branch information
Showing
2 changed files
with
11 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters