JavaScript: Retrieve a bucket

Examples

Get bucket

const { data, error } = await supabase
  .storage
  .getBucket('avatars')