Closed cfirs closed 7 years ago
var mystorage = storage.create('j:st');
mystorage.insert('a.txt', 'j:750M/a.txt','my custom data', function(err, id, stat) {
});
tnx, but now he look for callback' but i give him....
[DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
Try to use latest beta npm install filestorage@beta
.
I'll publish it today.
hi, i try to use the basic function insert, this is my code:
import storage = require('filestorage'); storage.create('j:st'); storage.insert('a.txt', 'j:750M/a.txt','my custom data', function(err, id, stat) { console.log(id); console.log(stat);
}, 'new logo');
what i am doing worng?