0.1.8 • Published 5 years ago

uguu-api v0.1.8

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.4

5 years ago

0.1.5

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago