Check if a path exists and is a directory
const exists = require('fs').existsSync('./folder');
Add a timeout to fetch requests using AbortController
Get the directory of the currently running script
Parse JSON without try-catch crashing your app
Access environment variables in Node.js