# parse-pan

> get wangpan download url/name/size

Latest version **1.0.0** (published 2016-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install parse-pan
pnpm add parse-pan
yarn add parse-pan
bun add parse-pan
```

Provides the command `parse-pan`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-01-08 |
| First published | 2016-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | 2yuri |
| Maintainers | 2yuri |
| Keywords | pan, wangpan, node, download |

## Links

- npm: https://www.npmjs.com/package/parse-pan
- npm.io page: https://npm.io/package/parse-pan

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.67.0
- [commander](https://npm.io/package/commander.md) ^2.9.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-01-08

## README

## Install

```
$ npm install parse-pan
```


## Usage

```js
var pan = require('parse-pan');

pan.getInfo(url,callback);
//=> http://pan.baidu.com/s/1mgpbW6G

//  { name: 'vc11_x86.exe',
//  size: '6.25MB',
//  download: 'http://d.pcs.baidu.com/file/99313a6c90f7990a74fee3f588506b08?fid=3208056152-250528-858631772474293&time=1452223894&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-ZtOaBxFIcfUre42R5seyjxwK3E0%3D&rt=sh&expires=8h&r=830062561&sharesign=za9HLZDemAGPljLbkq3pLcl/67DLXKEv5e45PFYC091twnHOx7UHOrFGk8twV2EMbXsJrLdnKQ0bVfrJ7MzYHkqwmgmWqNpKYsftT+wca7hyRqpArDBlDAHHT0++7sYx3oX09WNkrHaGKUgwbb4WJ2toJwcvwkcjdkvMkddlLs/a3echpztRzfafXwggceAJXt3AZwr/EjOP33vWkpqj9AAuQPFb4kkLIagf7X6xM4Avy4n4gclBucySNx3kYxc0+ZRLjmNiTAUXHvw2ziqC6QxCua4ZldpmntemLTp4MxZugznZoZIYw5pDuqHlQDnoyn4qDo+52khU7UoxH5VPzCwxs8UU5XqfIVfc6xysJci9TEp/4eG0Xzb/VduqtDv3tx81pGf9eAeAngBImB3ypec0jeCJVRR/TWwD8nbxU9frFNhZuYXfYkBnFN6nQoHQH3uteKNAVAH5B+rV379vN74AWZFml1scL0nPg2EtwdfymKbN5dXjClx87gXUrnvstAMadHTAsi4=&sh=1'}
```


## API

### .getDownload()

Type: `string`

Get download url.

### .getSize()

Type: `string`

Get file size.

### .getName()

Type: `string`

Get file name.

### .getInfo()

Type: `function`

Get all info.


## CLI

```
$ npm install --g parse-pan
```

```
$ parse-pan --help

  Usage: parse-pan [options]

  Options:

    -h, --help      output usage information
    -V, --version   output the version number
    -n, --file      Get resource name
    -s, --size      Get resource size
    -d, --download  Get resource download url
```

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