ecdownload

An easy way to download file with javascript

Usage no npm install needed!

<script type="module">
  import ecdownload from 'https://cdn.skypack.dev/ecdownload';
</script>

README

ecDownload

an easy way to download file

Install

npm install ecDownload

Use

const ecdownload = require('ecdownload');
ecdownload({
  link: 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png',
  savePath: './',
  retry: 0
}).then(console.log, console.log);