uguu-api
v0.1.8
Published
uguu.se temp file hosting api - 3rd party service
Downloads
5
Readme
uguu.se api node wrapper
visit uguu.se for more information.
uguu.se is not a bridged service. it is a 3rd party service enable you to host files for 24 hours.
Installation
yarn add uguu-api
Usage
import { upload } from "uguu-api"
upload("myfile.md", "#My file\n>awesome.").then((r)=> {
console.log(r)
})
>>> { url: "https://a.uguu.se/edq0g575eEml_file.md", originName: "myfile.md" }
curl example
curl --request POST \
--url 'https://uguu.se/api.php?d=upload-tool' \
--header 'content-type: multipart/form-data; boundary=---011000010111000001101001' \
--form file=
response: https://a.uguu.se/HSMrk8wpYdTh_andy.jpeg
as html page