Directory loader loads configuration in a specific folder. The basename of file will be used as configuration key, for the directory below:
.└─config ├── app.toml └── db.toml Copy
.└─config ├── app.toml └── db.toml
The parsed config will be { app: "config in app.toml", db: "config in db.toml" }
{ app: "config in app.toml", db: "config in db.toml" }
directory loader options.
Generated using TypeDoc
Directory loader loads configuration in a specific folder. The basename of file will be used as configuration key, for the directory below:
The parsed config will be
{ app: "config in app.toml", db: "config in db.toml" }