Skip to content

javierjmx/jet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jet

Command-line download tool for the Node.js platform.

installation

npm i -g jet-dwnldr

usage

jet-dwnldr URL

how it works

Basically, it works like wget --continue.

It downloads a file in the current directory.

If there's already a file with the same name, jet will assume that it is the first portion of the remote file and will ask the server to continue the retrieval from an offset equal to the length of the file.

This will only work with HTTP and HTTPS servers that support the 'Range' header.

If the URL ends with a '/', the file will be named 'index.html'.

If the status code of the response is 400 or greater, it will stop and print the status message.

If you don't have write permissions in the current directory, it will stop and print an error message.

References

About

Download utility for the Node.js platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published