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

dill-cli

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dill-cli

Command-line (CLI) program to download and optionally decompress gzipped files.

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

dill - download and decompress gzipped tar files with a CLI and API

An anthropomorphic dill pickle in a doorman's uniform

dill is a CLI app to download gzipped files and optionally decompress their contents. It also provides a simple programmatic API.

Implementation-wise, dill uses the Fetch API via node-fetch-native to download files, which means it is reasonably cross-platform and will use native Fetch implementations where available.

Why?

dill is intended for use in CI/CD systems for TypeScript/JavaScript projects. It fills a similar need to curl or wget -- a straightforward way to download a file given its URL.

In TypeScript/JavaScript projects, dependencies are typically specified using package.json, and thus it's most convenient to use only things that can be specified and installed using package.json. Moreover, dill is written in TypeScript and doesn't have any direct native dependencies. Thus, dill enables you to run the same build process locally as in CI/CD.

Usage

dill URL

Downloads a file from a URL and optionally extracts its contents.

USAGE
  $ dill  URL [-v | --quiet] [-o <value>] [--filename <value> | -e]

ARGUMENTS
  URL  URL of the file to download.

FLAGS
  -e, --extract           Decompress the file and, if it's a tarball, extract its contents.
  -o, --out=<value>       Directory in which to place the downloaded files.
      --filename=<value>  Name to use for the downloaded file. Cannot be used with --extract.

LOGGING FLAGS
  -v, --verbose  Enable verbose logging.
      --quiet    Disable all logging.

DESCRIPTION
  Downloads a file from a URL and optionally extracts its contents.

Keywords

FAQs

Package last updated on 07 Oct 2024

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