1.0.0 • Published 2 years ago

opex-pastebin v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

opex-pastebin

Usage

createPaste

await createPaste(`some content`)

getInfo

await getInfo("code"}

Example

createPaste

const { createPaste, getInfo } = require("opex-pastebin")
//link to paste: https://nekobin.com/KEY
(async function (){
 console.log(await createPaste(`
 Our channel: t.me/OpexDev
 `))
})()

getInfo

const { createPaste, getInfo } = require("opex-pastebin")

(async function (){
 console.log(await getInfo("homuhisobu"))
})()

limits

limits: documents:

getInfo:
  - amount: 20
    period: 5 seconds
  - amount: 10000
    period: 1 day

createPaste:
  - amount: 10
    period: 1 minute
  - amount: 20
    period: 1 hour
  - amount: 50
    period: 1 day

Developer

OpexDev