Package Exports
- s3u
- s3u/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (s3u) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
s3u
Description
S3 URL manipulation helper
Key features
- Support different S3 providers
- Simple and lightweight
- No dependencies
Installation
Install with npm:
npm install --save s3u
Usage
const { S3Url } = require('s3u');
const url = S3Url.fromUrl('https://mybucket.s3.amazonaws.com/');
url.key = 'My file.txt';
console.log(url.toString());
// https://mybucket.s3.amazonaws.com/My+file.txt
License
Licensed under MIT.