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).

Readme

Keywords

none

Package Sidebar

Install

npm i tar-url

Weekly Downloads

3

Version

0.1.0

License

none

Unpacked Size

2.36 kB

Total Files

5

Last publish

Collaborators

  • aleclarson