Swiftybase
Function StackStorageFS

FS Connect

Initialize a file system storage for managing and storing files.

Configuration:

  • Base Directory: (Optional) - The root directory where files will be stored.

Outputs:

  • Returns a *FS instance, which can be registered globally using a hook function that runs when the server starts. This instance can then be used across your API for file interactions.

On this page