1.0.2 • Published 3 years ago

url2file v1.0.2

Weekly downloads
14
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

Welcome to url2file 👋

Version

Twitter: JeffProd

Download any file on the internet with progress status

🏠 Homepage

Install

npm install url2file

Usage

const { Download } = require('url2file');

let mydl = new Download('https://github.githubassets.com/images/icons/emoji/unicode/1f680.png', '/home/user/rocket.png');
mydl.on('error', (err) => {
  console.error(err)
})
mydl.on('progress', (percent) => {
  console.log(percent + '%');
})
mydl.on('end', () => {
  console.log('ended')
});

Test

npm run test

Author

👤 Jean-François

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

DONATE

📝 License

Copyright © 2019 @JeffProd.

This project is SEE LICENSE IN LICENSE licensed.


This README was generated with ❤️ by readme-md-generator