Skip to content

Get urls data with displaying progress bar on the command line

License

Notifications You must be signed in to change notification settings

sjfkai/progress-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

progress-request

Get urls data with displaying progress bar on the command line

usage

callback mode

var progressRequest = require('progress-request');

progressRequest("https://www.google.com" , function(e, r){
  if(e){
    console.error(e);
  }
  console.log(r);
});

promise mode

var progressRequest = require('progress-request');

progressRequest("https://www.google.com").then(function(r) {
  console.log(r);
}).catch(function() {
  console.error(e);
})

About

Get urls data with displaying progress bar on the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published