Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 375 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 375 Bytes

Build Status

Usage

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'