# cordova-plugin-simple-downloader

> cordova plugin to simple http download file

Latest version **1.1.1** (published 2023-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-simple-downloader
pnpm add cordova-plugin-simple-downloader
yarn add cordova-plugin-simple-downloader
bun add cordova-plugin-simple-downloader
```

## 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.1.1 |
| Published | 2023-09-14 |
| First published | 2023-09-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ffeiman |
| Maintainers | gnoijli |
| Keywords | ecosystem:cordova, cordova-android |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-simple-downloader
- Repository: https://github.com/Tri-body/cordova-plugin-simple-downloader
- Homepage: https://github.com/Tri-body/cordova-plugin-simple-downloader#readme
- Issues: https://github.com/Tri-body/cordova-plugin-simple-downloader/issues
- npm.io page: https://npm.io/package/cordova-plugin-simple-downloader

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2023-09-14
- 1.1.0 — 2023-09-14
- 1.0.3 — 2023-09-13
- 1.0.2 — 2023-09-13

## README

## cordova-plugin-simple-downloader

a cordova plugin to simple download file, return file md5, only for android platfrom.

### Install/UnInstall

install from github repository using this command

```sh
cordova plugin add https://github.com/Tri-body/cordova-plugin-simple-downloader
```

or install from npmjs package using this command

```
cordova plugin add cordova-plugin-simple-downloader
```

uninstall using this command

```sh
cordova plugin remove cordova-plugin-simple-downloader
```

### How to Use

```js
SimpleDownloader.download(
  'http://127.0.0.1:8080/xxx.mp4',
  '/storage/emulated/0/Android/data/<appid>/files/', // can't use file:///storage...
  'yyy.mp4',
  (md5) => {
    console.log('ok', md5);
  },
  e => {
    console.error('error: ', e);
  },
  true // if true, success callback return file md5, default false.
);
```

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