tar-url
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

tar-url v0.0.3

Resolve the .tgz url for a remote package.

Defaults to latest version.

let tarUrl = require('tar-url')

await tarUrl('lodash')
// https://registry.npmjs.org/lodash/-/lodash-4.17.5.tgz

await tarUrl('lodash', '^4.16.0')
// https://registry.npmjs.org/lodash/-/lodash-4.17.5.tgz

All registries are supported (thanks to registry-auth-token).

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0
  • 0.0.3
    0
  • 0.0.2
    1

Package Sidebar

Install

npm i tar-url

Weekly Downloads

1

Version

0.1.0

License

none

Unpacked Size

2.36 kB

Total Files

5

Last publish

Collaborators

  • aleclarson