Spaces:
Sleeping
Sleeping
Download Backend_node/src/constants/constants.ts from VashuTheGreat2/ML-Learner: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/Backend_node/src/constants/constants.ts
- Command line
-
hf download hf://spaces/VashuTheGreat2/ML-Learner/Backend_node/src/constants/constants.ts
-
curl -L -o constants.ts https://huggingface.co/spaces/VashuTheGreat2/ML-Learner/resolve/main/Backend_node/src/constants/constants.ts
473 Bytes
| const now = new Date(); | |
| export const LOGGER_FOLDER_NAME = "logs"; | |
| const datetime = `${now.getFullYear()}-${String(now.getMonth() + 1).padStart(2, '0')}-${String(now.getDate()).padStart(2, '0')} ${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}:${String(now.getSeconds()).padStart(2, '0')}`; | |
| export const LOGGER_FILE_NAME = datetime.replace(/:/g, '-') + ".log"; // Replace colons for Windows compatibility | |
| export const DB_NAME="Resume" |