@zanixongroup/uploader
Version:
A simple any file hosting uploader for node.js
63 lines (52 loc) • 2.12 kB
Markdown
# Uploader
A simple multi file hosting uploader for pomf, quax, etc.
<br><br>
   
# Features
- Simple library
- Easy to use
- Almost all free file hosting is here!
# Table of contents
- [Getting Started](#getting-started)
- [Install](#install)
- [Uploaders](#uploaders)
- [Example](#example-usage)
- [Contributing](#contributing)
- [Issue](#issue)
# Getting Started
### Install
Install the library using npm
```bash
npm i @zanixongroup/uploader
```
### Uploader
This library has several file hostings:
- Pomf - Image, Video, Audio, etc (Exp: never)
- Quax - Image, Video, Audio (Exp: never)
- Videy - Video (Exp: never)
- Ryzumi - Image, Video, Audio (Exp: 24h)
- FastUrl - Any (Exp: never)
- Litterbox - Any (Exp: 1h, 12h, 24h, 72h)
- Catbox - Any (Exp: never)
- Uguu - Any (Exp: 3h)
- Cloudku - Any (Exp: never)
### Example Usage
How to usage this simple library
```js
/**
import Upload from "@zanixongroup/uploader";
*/
import { FastUrl } from "@zanixongroup/uploader";
const media = //buffer
FastUrl(media)
.then(console.log)
.catch(console.log)
/**
Result:
https://fastrestapis.fasturl.cloud/file/v2/ZVNM9W2.jpg
*/
```
# Contributing
If you would like to contribute to this package, I would really appreciate it. You can see the [contribution guidelines here](https://github.com/ZanixonGroup/uploader/blob/main/CONTRIBUTING.md) to contribute in the best way possible.
# Issue
Feel free to open the issue, I hope this documentation can help you maximally and make it easier for you to use this package.