Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 462 Bytes

File metadata and controls

24 lines (17 loc) · 462 Bytes

Nativescript Supabase Storage Client

npm install @triniwiz/nativescript-supabase-storage

Usage

const avatarFile // 
const { data, error } = await supabase
  .storage
  .from('avatars')
  .upload('public/avatar1.png', avatarFile) 
  // File/Blob objects, NSData, byte array, ArrayBuffer & supports full path url

Credits

Based on storage-js

License

Apache License Version 2.0