Creates a byte size in gigabytes.
WHY: Provides a more readable way to specify sizes in GB.
number of gigabytes
bytes equivalent
const diskQuota = gigabytes(100); // 100 GB disk quotaif (totalSize > gigabytes(5)) console.log('Large dataset'); Copy
const diskQuota = gigabytes(100); // 100 GB disk quotaif (totalSize > gigabytes(5)) console.log('Large dataset');
Creates a byte size in gigabytes.
WHY: Provides a more readable way to specify sizes in GB.