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'
tkrugg/google-cloud-storage-uri-parser
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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