1.0.2 • Published 3 years ago

simple-download v1.0.2

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

Simple Download

Download files with ease. (No dependencies!)

Wallaby.js

Install

	npm install simple-download

	# or

	yarn add simple-download

Usage

	import download from 'simple-download'

	const url = 'https://httpbin.org/image/png'

	await download(url, '~/Desktop/my-image.png') //=> Promise<string | Buffer>

API

url

  • Type: string
  • required: true

path

  • Type: string
  • required: true
  • Note: It must have the file name. (ex: ~/Desktop/my-image.png)
1.0.2

3 years ago

1.0.0

3 years ago

0.6.0

4 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.5

7 years ago