Skip to main content
This function returns the size of a directory in bytes.

Usage

Input Parameters

  • files: string | File[]: The path to the directory or an array of files.

Example