300 B
300 B
const sdk = require('node-appwrite');
// Init SDK let client = new sdk.Client();
let storage = new sdk.Storage(client);
client .setProject('') ;
let promise = storage.listFiles();
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });