Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.96 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.96 KB

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