ember-source-channel-url

3.0.0 • Public • Published

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:

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

const getURLFor = require('ember-source-channel-url');
 
getURLFor('canary').then((url) => {
  // use the URL here 
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    67,966
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0
    67,966
  • 2.0.1
    14,299
  • 2.0.0
    0
  • 1.2.0
    15,299
  • 1.1.0
    2,484
  • 1.0.1
    755

Package Sidebar

Install

npm i ember-source-channel-url

Weekly Downloads

100,803

Version

3.0.0

License

MIT

Unpacked Size

6.24 kB

Total Files

5

Last publish

Collaborators

  • katiegengler
  • rwjblue
  • stefanpenner
  • turbo87