ii.me-to-imgur
v0.0.6
Published
II.ME-TO-IMGUR ==== This simple module allows you to convert is-inside.me url's to imgur url's! <br> **Here is some example usage!**
Downloads
4
Maintainers
Readme
II.ME-TO-IMGUR
This simple module allows you to convert is-inside.me url's to imgur url's! Here is some example usage!
const imgur = require('ii.me-to-imgur')
async function test(){
let url = await imgur("https://salvage.is-inside.me/7EN6h1nr.png")
console.log(url)
}
test()
This would return a table! This table would look something like the following:
{
width: 898,
height: 535,
id: 'vkAteyF',
type: 'image/png',
url: 'https://i.imgur.com/vkAteyF.png',
size: 49652
}
Note: It can take upto a second to upload the image to imgur Note: It creates a file with the current time EPOCH time with a .png at the end, once it is used it gets deleted automatically! I hope this module is helpful!
This does not support mp4 or gif's yet