Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
dotenv improvements
// better file checker
fs.accessSync(path.resolve(__dirname,'./config-local.json'), fs.R_OK);
// add .env.js
const envJS = require('./.env.js')
await envJS()
export default async function() {
return await fetch('')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment