# ember-source-channel-url

> Determine the URL to a given Ember channels (beta, canary, etc) latest tarball.

Latest version **3.0.0** (published 2020-08-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-source-channel-url
pnpm add ember-source-channel-url
yarn add ember-source-channel-url
bun add ember-source-channel-url
```

Provides the command `ember-source-channel-url`.

## 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 | 3.0.0 |
| Published | 2020-08-02 |
| First published | 2018-01-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 10.* \|\| 12.* \|\| >= 14 |
| Dependencies | 1 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Robert Jackson |
| Maintainers | katiegengler, rwjblue, stefanpenner, turbo87 |

## Links

- npm: https://www.npmjs.com/package/ember-source-channel-url
- Repository: https://github.com/rwjblue/ember-source-channel-url
- Homepage: https://github.com/rwjblue/ember-source-channel-url#readme
- Issues: https://github.com/rwjblue/ember-source-channel-url/issues
- npm.io page: https://npm.io/package/ember-source-channel-url

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.0

## Recent versions

- 3.0.0 (latest) — 2020-08-02
- 2.0.1 — 2019-05-16
- 2.0.0 — 2019-05-16
- 1.2.0 — 2019-05-16
- 1.1.0 — 2018-04-11
- 1.0.1 — 2018-01-13

## README

# ember-source-channel-url

Retrieve a URL that can be used to reference a tarball representing the latest
`ember-source` build for that channel.

## Usage

### Command Line API

```
npx ember-source-channel-url canary
```

Will print out:

```sh
The URL for the latest tarball from ember-source's canary channel is:

        https://s3.amazonaws.com/builds.emberjs.com/canary/shas/<RANDOM SHA HERE>.tgz
```

If you'd like to update `ember-source` in your `package.json` with the new URL, you can use the `--write` option:

```
npx ember-source-channel-url canary --write
```

### Programmatic API

```js
const getURLFor = require('ember-source-channel-url');

getURLFor('canary').then((url) => {
  // use the URL here 
});
```

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