Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/asiniy/download

Downloads remote file and stores it in the filesystem
https://github.com/asiniy/download

Last synced: about 2 months ago
JSON representation

Downloads remote file and stores it in the filesystem

Lists

README

        

# `download`

[![Build Status](https://travis-ci.org/asiniy/download.svg?branch=master)](https://travis-ci.org/asiniy/download)
[![hexdocs](https://img.shields.io/badge/hex-docs-brightgreen.svg)](https://hexdocs.pm/download/Download.html#from/2)
![badge](https://img.shields.io/hexpm/v/download.svg)

Simply downloads remote file and stores it in the filesystem.

``` elixir
Download.from(url, options)
```

[Documentation](https://hexdocs.pm/download/Download.html#from/2)

## Features

* Small RAM consumption
* Ability to limit downloaded file size
* Uses httpoison

## Installation

```elixir
def deps do
[{:download, "~> x.x.x"}]
end
```

Into `mix.exs`

``` elixir
def application do
[applications: [:download]]
end
```