@triniwiz/nativescript-supabase-storage
by triniwiz | v0.1.1
A Nativescript client library to interact with Supabase Storage
npm i --save @triniwiz/nativescript-supabase-storage

Nativescript Supabase Storage Client

ns plugin add @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