# aws-sqs-geturl

> Retrieve SQS url

Latest version **1.0.0** (published 2017-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install aws-sqs-geturl
pnpm add aws-sqs-geturl
yarn add aws-sqs-geturl
bun add aws-sqs-geturl
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-05-02 |
| First published | 2017-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | simonjang |
| Maintainers | simonja |
| Keywords | sqs, SQS, AWS, aws, url |

## Links

- npm: https://www.npmjs.com/package/aws-sqs-geturl
- Repository: https://github.com/simonjang/aws-sqs-geturl
- Homepage: https://github.com/simonjang/aws-sqs-geturl#readme
- Issues: https://github.com/simonjang/aws-sqs-geturl/issues
- npm.io page: https://npm.io/package/aws-sqs-geturl

## Dependencies (2)

- [pify](https://npm.io/package/pify.md) ^2.3.0
- [is-aws-account-id](https://npm.io/package/is-aws-account-id.md) ^1.0.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

- 1.0.0 (latest) — 2017-05-02
- 0.0.2 — 2017-05-02
- 0.0.1 — 2017-05-01

## README

# aws-sqs-geturl [![Build Status](https://travis-ci.org/SimonJang/aws-sqs-geturl.svg?branch=master)](https://travis-ci.org/SimonJang/aws-sqs-geturl)

> Retrieve [SQS](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/Welcome.html) url


## Install

```
$ npm install --save aws-sqs-geturl
```


## Usage

```js
const awsGetSqsUrl = require('aws-sqs-geturl');

awsGetSqsUrl('somequeue').then(url => {
	console.log(url);
	//=> https://sqs.eu-west-1.amazonaws.com/123456789111/somequeue
});

awsGetSqsUrl('anotherqueue', {awsAccountId: '123456789012'}).then(url => {
	console.log(url);
	//=> https://sqs.us-west-1.amazonaws.com/123456789012/anotherqueue
});
```


## API

### awsGetSqsUrl(queueName, [options])

Returns a Promise for the queue URL.

#### queueName

Type: `string`

Name of queue

#### options

##### options.awsAccountId

Type: `string`<br>
Default: caller account

AWS account ID of the account that created the queue.


## License

MIT © [Simon Jang](https://github.com/SimonJang)

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