pget
nugget but with a Promise interface.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pget 
SYNC missed versions from official npm registry.

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', {verbose: true})
})
/* ⬇️ 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

Current Tags

  • 0.1.1                                ...           latest (5 years ago)

3 Versions

  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 8
This Month 39
Last Day 0
Last Week 8
Last Month 58
Dependencies (2)
Dev Dependencies (2)

Copyright 2014 - 2017 © taobao.org |