Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@f97/url2file

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@f97/url2file

Download any file on the internet with progress status

latest
Source
npmnpm
Version
1.0.9
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

  • Twitter: @JeffProd
  • Github: @Tazeg

🤝 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

Keywords

download

FAQs

Package last updated on 11 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts