Skip to content

animemoeus/jscord-storage

Repository files navigation

jscord-storage

Server Status

Bypass Expired URL

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