Skip to content
itagnPublic

About

🚀 Use NodeJS to download files

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

download

Introduction

🚀 Use NodeJS to download files

Install

$ git clone https://github.com/itagn/download.git 

Usage

$ cd download
$ npm install
$ node test.js

code of test.js

;(function(){
    let { download } = require('./index');
    let files = [{
        tag: 'img',
        type: 'jpg',
        descript: 'images'
    }, {
        tag: 'video',
        type: 'mp4',
        descript: 'videos'
    }];
    let url = '';  //  url
    download(url, files);
})();

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT © itagn
作者: 微博 @itagn - Github @itagn

About

🚀 Use NodeJS to download files

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages