0.1.30 • Published 5 years ago
gcsfs v0.1.30
GCSFS
GCSFS provides an mz/fs comaptible virtual fs that uses @google-cloud/storage as a backend.
GCSFS supports only a limited subset of the standard fs methods and only supports async promise based access.
Creating a new GCSFS instance
const GCSFS = require('gcsfs')
var gcsfs = new GCSFS({
bucketName: 'test-bucket',
keyFile: 'my-key-file.json',
})
Options
Property | Description |
---|---|
createBucket | if true bucket will be created if does not exist |
credentials | credentials object |
defaultGzip | uploads will be gzip'd if set to true |
defaultPublic | files will be public if set to true |
keyFile | google cloud key file |
projectId | project id - not needed if in key file or credentials |
Methods
createReadStream
createWriteStream
readFile
writeFile
0.1.30
5 years ago
0.1.29
6 years ago
0.1.28
6 years ago
0.1.27
6 years ago
0.1.26
7 years ago
0.1.25
7 years ago
0.1.24
7 years ago
0.1.23
7 years ago
0.1.22
7 years ago
0.1.21
7 years ago
0.1.20
7 years ago
0.1.19
7 years ago
0.1.18
7 years ago
0.1.17
7 years ago
0.1.16
7 years ago
0.1.15
7 years ago
0.1.14
7 years ago
0.1.13
7 years ago
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.1
7 years ago