# loonds-media-library

> This is a reusable package for media upload and download functionality in React.

Latest version **0.1.10** (published 2023-07-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install loonds-media-library
pnpm add loonds-media-library
yarn add loonds-media-library
bun add loonds-media-library
```

## 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.10 |
| Published | 2023-07-03 |
| First published | 2023-07-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 805.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pankaj Kumar |
| Maintainers | pankaj-kumar-techie |
| Keywords | react, typescript, npm |

## Links

- npm: https://www.npmjs.com/package/loonds-media-library
- Repository: https://github.com/loonds/media-library
- Homepage: https://github.com/loonds
- Issues: https://github.com/loonds/media-library/issues
- npm.io page: https://npm.io/package/loonds-media-library

## Dependencies (14)

- [axios](https://npm.io/package/axios.md) ^1.4.0
- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [typescript](https://npm.io/package/typescript.md) ^4.9.5
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [@types/jest](https://npm.io/package/@types/jest.md) ^27.5.2
- [@types/node](https://npm.io/package/@types/node.md) ^16.18.37
- [@types/react](https://npm.io/package/@types/react.md) ^18.2.14
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) ^18.2.6
- [@tailwindcss/forms](https://npm.io/package/@tailwindcss/forms.md) ^0.5.3
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.16.5
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.10 (latest) — 2023-07-03
- 0.1.9 — 2023-07-03
- 0.1.8 — 2023-07-03
- 0.1.7 — 2023-07-03
- 0.1.6 — 2023-07-02

## README

# Media Library

This is a reusable package for media upload and download functionality in React.

## Installation

To install the package, run the following command:

```bash
npm install loonds-media-library 
```

## Usage

### MediaUploader

The MediaUploader component allows you to select a file and upload it.

```import React from 'react';
import { MediaUploader } from 'media-library';

function MyComponent() {
  return (
    <div>
      <MediaUploader />
    </div>
  );
}
```

### MediaDownloader

The MediaDownloader component allows you to download a media file using a provided URL.

```import React from 'react';
import { MediaDownloader } from 'media-library';

function MyComponent() {
  return (
    <div>
      <MediaDownloader url="https://example.com/media-file.jpg" />
    </div>
  );
}
```

## Contributing

Contributions are welcome! If you have any bug fixes, improvements, or new features to add, please submit a pull
request.

## License

This project is licensed under the MIT License.

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