1.0.1 • Published 13 years ago
fetch-file v1.0.1
Fetch File
Download from an http server to a local file.
Installation
$ npm install shaAPI
fetch(remote, local, options, cb)
Download from remote to local.
remote is an options object to be passed to request. This includes uri, qs, method, headers etc...
local is the path to a local file. Its directory will be created using mkdirp if it does not already exist.
Options:
modeThe mode to create files with (default: 0666)
License
BSD

