tar-url
Resolve the `.tgz` url for a remote package.
Last updated 2 years ago by aleclarson .
Original npm · Tarball · package.json
$ cnpm install tar-url 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.3                                ...           latest (2 years ago)

2 Versions

  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (3)

Copyright 2014 - 2017 © taobao.org |