Fatima Logofatima

local

Let's remove the dotenv dependency.

This adapter will load environment variables from .env files, with no dependencies.

Dependencies

Zero.

Importing the loader

env.config.ts
import { config, adapters } from "fatima";
 
export default config({
  load: {
    development: [adapters.load.load(".env", ".env.development")],
  },
});

Special thanks

Special thanks to dotenv for the regex that reads .env lines, source code can be found here.

On this page