nugget
minimalist wget clone written in node. HTTP GETs a file and saves it to the current working directory
Last updated 5 years ago by mafintosh .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nugget 
SYNC missed versions from official npm registry.

nugget

Minimalist command line downloader written in node, inspired by wget. HTTP GETs a file and streams it into a file in the current working directory. Specializes at downloading many files in parallel.

NPM dat Travis

installation

npm install nugget -g

usage

Usage: nugget <urls> [options]
  -o    output filename
  -d    output parent directory
  -c    resume aborted download
  -f    ignore response codes > 299
  -s    concurrent socket limit (default infinity)
  -q    disable logging

examples

nugget http://foo.com/bar.jpg
# downloads bar.jpg and stores it in the current directory

or

nugget http://foo.com/bar.jpg -O baz.jpg
# saves it as baz.jpg. you can also do lowercase -o

if you get a statusCode of 300 or greater nugget will stop. you can force it to stream the response into a file anyway by doing nugget http://404link.com/file.html -f or --force works too

you can also download multiple files, just pass multiple urls:

download multiple

options

The following options are recognized by nugget:

  • -s|--sockets - default Infinity. specify the number of http sockets to use at once (this controls concurrency)
  • -o|-O|--out - specify the filename to write to. this only works if you are downloading a single file
  • -d|--dir - save files in a directory other than the current one.
  • -c|--continue - resume downloads if a partially complete target file already exists. If the target file exists and is the same size as the remote file, nothing will be done.
  • -f|--force - force the server response to be saved to the target file, even if it's a non-successful status code.
  • -q|--quiet - disable logging
  • --no-strict-ssl - disable strict ssl
  • --proxy - specify a proxy to use

Current Tags

  • 1.6.2                                ...           1x (6 years ago)
  • 2.0.1                                ...           latest (5 years ago)

20 Versions

  • 2.0.1                                ...           5 years ago
  • 1.6.2                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.6.1                                ...           6 years ago
  • 1.5.5                                ...           6 years ago
  • 1.6.0                                ...           6 years ago
  • 1.5.4                                ...           6 years ago
  • 1.5.3                                ...           6 years ago
  • 1.5.2                                ...           6 years ago
  • 1.5.1                                ...           7 years ago
  • 1.5.0                                ...           7 years ago
  • 1.4.1                                ...           7 years ago
  • 1.4.0                                ...           7 years ago
  • 1.3.0                                ...           7 years ago
  • 1.2.0                                ...           7 years ago
  • 1.1.3                                ...           7 years ago
  • 1.1.2                                ...           7 years ago
  • 1.1.1                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (2)
Downloads
Today 716
This Week 3,724
This Month 13,990
Last Day 999
Last Week 5,673
Last Month 27,200
Dependencies (7)
Dev Dependencies (3)

Copyright 2014 - 2021 © npmmirror.com |