animemoeus / jscord-storage

Free unlimited file hosting using Discord server

Home Page:https://discord-storage.animemoe.us/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jscord-storage

Server Status

Installation

yarn add jscord-storage

Example

import { uploadFromFile, uploadFromURL } from 'jscord-storage';

const testUploadFromURL = async () => {
  const response = await uploadFromURL(
    'test.jpg',
    'https://cdn.discordapp.com/attachments/858938620425404426/1076560199218892902/waifu-animemoeus.jpg'
  );

  console.log(response);
};

const testUploadFromFile = async () => {
  const response = await uploadFromFile('./test.js');

  console.log(response);
};

testUploadFromURL();
testUploadFromFile();

API

About

Increase Upload Limit

Example Implementation

About

Free unlimited file hosting using Discord server

https://discord-storage.animemoe.us/

License:MIT License


Languages

Language:JavaScript 100.0%