google-cloud-storage-uri-parser

0.0.5 • Public • Published

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'
 

Package Sidebar

Install

npm i google-cloud-storage-uri-parser

Weekly Downloads

18

Version

0.0.5

License

MIT

Unpacked Size

2.84 kB

Total Files

6

Last publish

Collaborators

  • tkrugg