Skip to content

egoist/pget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pget NPM version NPM downloads Build Status

nugget but with a Promise interface.

Install

$ npm install --save pget

Usage

const pget = require('pget')

co(function* () {
  yield pget('http://example.com/154802xtui44qt5imdzm43.png')
})
/* ⬇️ yield ⬇️
Downloading 154802xtui44qt5imdzm43.png
[============================================>] 100.0% of 430.9 kB (246.23 kB/s)
*/

API

pget(url, [options])

options

nugget options.

Related

  • nugget: minimalist wget clone written in node.

License

MIT © EGOIST

About

nugget but with a Promise interface.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published