This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
upload is not a function #78
Labels
api: storage
Issues related to the googleapis/gcs-resumable-upload API.
type: docs
Improvement to the documentation for an API.
i'm sorry if my question is so stupid
i've tried to use this module. It worked on power shell but when i created the .js file like your example, it didn't work and returned that "upload is not a function"
`
var upload = require('gcs-resumable-upload');
var fs = require('fs');
fs.createReadStream('titanic.mov')
.pipe(upload({ bucket: 'upload-bucket208', file: 'titanic.mov' }))
.on('finish', function () {
// Uploaded!
});
`
The text was updated successfully, but these errors were encountered: