# pget

> nugget but with a Promise interface.

Latest version **0.1.1** (published 2016-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install pget
pnpm add pget
yarn add pget
bun add pget
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-02-26 |
| First published | 2016-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | EGOIST |
| Maintainers | kchan |

## Links

- npm: https://www.npmjs.com/package/pget
- Repository: https://github.com/egoist/pget
- Homepage: https://github.com/egoist/pget#readme
- Issues: https://github.com/egoist/pget/issues
- npm.io page: https://npm.io/package/pget

## Dependencies (2)

- [nugget](https://npm.io/package/nugget.md) ^2.0.0
- [es6-promise](https://npm.io/package/es6-promise.md) ^3.0.2

## Recent versions

- 0.1.1 (latest) — 2016-02-26
- 0.1.0 — 2016-02-26
- 0.0.0 — 2016-01-31

## README

# pget [![NPM version](https://img.shields.io/npm/v/pget.svg)](https://npmjs.com/package/pget) [![NPM downloads](https://img.shields.io/npm/dm/pget.svg)](https://npmjs.com/package/pget) [![Build Status](https://img.shields.io/circleci/project/egoist/pget/master.svg)](https://circleci.com/gh/egoist/pget)

> nugget but with a Promise interface.

## Install

```
$ npm install --save pget
```

## Usage

```js
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](https://github.com/maxogden/nugget/blob/master/bin.js#L12-L22) options.

## Related

<!-- Related projects start -->
- [nugget](https://github.com/maxogden/nugget): minimalist wget clone written in node.

<!-- Related projects end -->

## License

MIT © [EGOIST](https://github.com/egoist)

---
_Source: https://npm.io/package/pget · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
