JavaScript: Create a bucket

Examples

Create bucket

const { data, error } = await supabase
  .storage
  .createBucket('avatars', { public: false })