jscord-storage icon indicating copy to clipboard operation
jscord-storage copied to clipboard

Free unlimited file hosting using Discord server

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