0.1.30 • Published 6 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
6 years ago
0.1.29
7 years ago
0.1.28
7 years ago
0.1.27
7 years ago
0.1.26
8 years ago
0.1.25
8 years ago
0.1.24
8 years ago
0.1.23
8 years ago
0.1.22
8 years ago
0.1.21
8 years ago
0.1.20
8 years ago
0.1.19
8 years ago
0.1.18
8 years ago
0.1.17
8 years ago
0.1.16
8 years ago
0.1.15
8 years ago
0.1.14
8 years ago
0.1.13
8 years ago
0.1.12
8 years ago
0.1.11
8 years ago
0.1.10
8 years ago
0.1.9
8 years ago
0.1.8
8 years ago
0.1.7
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.1
8 years ago