# s3-url

> Go between URLs and AWS options objects for S3.

Latest version **0.2.2** (published 2015-02-08) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install s3-url
pnpm add s3-url
yarn add s3-url
bun add s3-url
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2015-02-08 |
| First published | 2014-11-19 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Izaak Schroeder |
| Maintainers | izaakschroeder |
| Keywords | aws, s3, url |

## Links

- npm: https://www.npmjs.com/package/s3-url
- Repository: https://github.com/izaakschroeder/s3-url
- Issues: https://github.com/izaakschroeder/s3-url/issues
- npm.io page: https://npm.io/package/s3-url

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^3.1.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.2.2 (latest) — 2015-02-08
- 0.2.0 — 2014-11-30
- 0.1.0 — 2014-11-19

## README

# s3-url

Go between URLs and AWS options for S3.

![build status](http://img.shields.io/travis/izaakschroeder/s3-url.svg?style=flat)
![coverage](http://img.shields.io/coveralls/izaakschroeder/s3-url.svg?style=flat)
![license](http://img.shields.io/npm/l/s3-url.svg?style=flat)
![version](http://img.shields.io/npm/v/s3-url.svg?style=flat)
![downloads](http://img.shields.io/npm/dm/s3-url.svg?style=flat)

![dependencies](https://img.shields.io/david/izaakschroeder/s3-url.svg?style=flat)
![dev-dependencies](https://img.shields.io/david/dev/izaakschroeder/s3-url.svg?style=flat)
![peer-dependencies](https://img.shields.io/david/peer/izaakschroeder/s3-url.svg?style=flat)

Sometimes you just need to convert an `s3://bucket/key` to something you can feed into AWS. This library has you covered.

```javascript
var s3Url = require('s3-url');
s3Url.optionsToURL({ Bucket: 'bucket', Key: 'key' });
```

```javascript
var s3Url = require('s3-url');
s3Url.urlToOptions('s3://bucket/key');
```

---
_Source: https://npm.io/package/s3-url · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
