const { parse } = require('google-cloud-storage-uri-parser')
const { bucket, file } = parse('gs://my-bucket/my-folder/my-file.txt')
// bucket === 'my-bucket'
// file === 'my-folder/my-file.txt'
-
Notifications
You must be signed in to change notification settings - Fork 0
tkrugg/google-cloud-storage-uri-parser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A URI parser for google cloud storage files
Resources
Stars
Watchers
Forks
Packages 0
No packages published