Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parse-npm-tarball-url

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-npm-tarball-url

Parse a tarball URL hosted in the npm registry

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
87K
increased by27.17%
Maintainers
1
Weekly downloads
 
Created
Source

parse-npm-tarball-url

Build Status

Parse a tarball URL hosted in the npm registry

Installation

<pnpm|yarn|npm> add parse-npm-tarball-url

Usage

import parseNpmTarbalUrl from 'parse-npm-tarball-url'

const pkg = parseNpmTarbalUrl('http://registry.npmjs.org/foo/-/foo-1.0.0.tgz')

console.log(pkg)
// {
//   host: 'registry.npmjs.org',
//   name: 'foo',
//   version: '1.0.0'
// }
  • get-npm-tarball-url - Create the tarball URL of a npm package

License

MIT © Zoltan Kochan

Keywords

FAQs

Package last updated on 27 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc